* @param processorClass
* @throws NoSuchMethodException
*/
private void generateChildren(PrintStream out, String library, Class<?> processorClass) throws NoSuchMethodException
{
TagChildren annot = processorClass.getAnnotation(TagChildren.class);
if (annot != null)
{
if (annot.value().length > 1)
{
out.println("<xs:sequence>");
for (TagChild tagChild : annot.value())
{
generateChild(out, tagChild, true, library);
}
out.println("</xs:sequence>");
}
else if (annot.value().length == 1)
{
TagChild tagChild = annot.value()[0];
if (isChildAnAgregator(tagChild))
{
generateChild(out, tagChild, true, library);
}
else