All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
ind.jaxb-xjc.3.0.0-M3.source-code.modelGroup.rng Maven / Gradle / Ivy
import java.util.Vector;
private ModelGroupImpl result;
private final List particles = new ArrayList();
fa = (null);
(null,AnnotationContext.MODELGROUP);
particles.add(childParticle);
XSModelGroup.Compositor compositor = null;
if(compositorName.equals("all")) compositor = XSModelGroup.ALL;
if(compositorName.equals("sequence")) compositor = XSModelGroup.SEQUENCE;
if(compositorName.equals("choice")) compositor = XSModelGroup.CHOICE;
if(compositor==null)
throw new InternalError("unable to process "+compositorName);
result = new ModelGroupImpl( $runtime.document, annotation, locator, fa, compositor,
(ParticleImpl[])particles.toArray(new ParticleImpl[0]));
private Locator wloc;
private Locator loc;
private ParticleImpl result;
private String compositorName;
compositorName = $localName;
loc = $runtime.copyLocator();
all
choice
sequence
result = new ParticleImpl( $runtime.document, null, term, loc, occurs.max, occurs.min );
loc = $runtime.copyLocator();
(null,AnnotationContext.PARTICLE);
result = new ParticleImpl( $runtime.document, annotation, new DelayedRef.ModelGroup(
$runtime, loc, $runtime.currentSchema, groupName ),
loc, occurs.max, occurs.min );
loc = $runtime.copyLocator();
(null,AnnotationContext.PARTICLE);
result = new ParticleImpl( $runtime.document, annotation, new DelayedRef.Element(
$runtime, loc, $runtime.currentSchema, elementTypeName ),
loc, occurs.max, occurs.min );
result = new ParticleImpl( $runtime.document, null,
anonymousElementDecl,
loc, occurs.max, occurs.min );
wloc = $runtime.copyLocator();
result = new ParticleImpl( $runtime.document, null, wcBody, wloc, occurs.max, occurs.min );
private ModelGroupDeclImpl result;
private Locator loc,mloc;
private String compositorName;
loc = $runtime.copyLocator();
(null,AnnotationContext.MODELGROUP_DECL);
fa = (null);
mloc = $runtime.copyLocator();
compositorName = $localName;
all
choice
sequence
result = new ModelGroupDeclImpl( $runtime.document,
annotation, loc, fa,
$runtime.currentSchema.getTargetNamespace(),
name,
term
);