particleBinding.setMaxOccurs(particle.getMaxOccurs());
particleBinding.setMaxOccursUnbounded(particle.getMaxOccursUnbounded());
particleBinding.setMinOccurs(particle.getMinOccurs());
group.addParticle(particleBinding);
XSWildcard wildcard = (XSWildcard)particle.getTerm();
if(wildcard.getName() != null)
{
binding.setQName(new QName(wildcard.getNamespace(), wildcard.getName()));
}
binding.setProcessContents(wildcard.getProcessContents());
if (ctx.processAnnotations)
{
XSAnnotation annotation = wildcard.getAnnotation();
if(annotation != null)
{
customizeTerm(annotation, binding, ctx.trace);
}
}