Package com.sun.xml.xsom.impl
Class ModelGroupImpl
java.lang.Object
com.sun.xml.xsom.impl.ComponentImpl
com.sun.xml.xsom.impl.ModelGroupImpl
- All Implemented Interfaces:
Ref.Term,XSComponent,XSModelGroup,XSTerm,Iterable<XSParticle>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.xml.xsom.XSModelGroup
XSModelGroup.Compositor -
Field Summary
Fields inherited from class com.sun.xml.xsom.impl.ComponentImpl
ownerDocumentFields inherited from interface com.sun.xml.xsom.XSModelGroup
ALL, CHOICE, SEQUENCE -
Constructor Summary
ConstructorsConstructorDescriptionModelGroupImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, XSModelGroup.Compositor _compositor, ParticleImpl[] _children) -
Method Summary
Modifier and TypeMethodDescriptionapply(XSFunction function) Accepts a functor.apply(XSTermFunction function) <T,P> T apply(XSTermFunctionWithParam<T, P> function, P param) getChild(int idx) Gets i-ith child.Gets all the children in one array.intgetSize()Gets the number of children.getTerm()Obtains a reference as a term.booleanbooleanbooleanbooleaniterator()voidredefine(ModelGroupDeclImpl oldMG) voidvisit(XSTermVisitor visitor) voidAccepts a visitor.Methods inherited from class com.sun.xml.xsom.impl.ComponentImpl
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface com.sun.xml.xsom.XSComponent
getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle
-
Constructor Details
-
ModelGroupImpl
public ModelGroupImpl(SchemaDocumentImpl owner, AnnotationImpl _annon, Locator _loc, ForeignAttributesImpl _fa, XSModelGroup.Compositor _compositor, ParticleImpl[] _children)
-
-
Method Details
-
getChild
Description copied from interface:XSModelGroupGets i-ith child.- Specified by:
getChildin interfaceXSModelGroup
-
getSize
public int getSize()Description copied from interface:XSModelGroupGets the number of children.- Specified by:
getSizein interfaceXSModelGroup
-
getChildren
Description copied from interface:XSModelGroupGets all the children in one array.- Specified by:
getChildrenin interfaceXSModelGroup
-
getCompositor
- Specified by:
getCompositorin interfaceXSModelGroup
-
redefine
-
iterator
- Specified by:
iteratorin interfaceIterable<XSParticle>
-
isWildcard
public boolean isWildcard()- Specified by:
isWildcardin interfaceXSTerm
-
isModelGroupDecl
public boolean isModelGroupDecl()- Specified by:
isModelGroupDeclin interfaceXSTerm
-
isModelGroup
public boolean isModelGroup()- Specified by:
isModelGroupin interfaceXSTerm
-
isElementDecl
public boolean isElementDecl()- Specified by:
isElementDeclin interfaceXSTerm
-
asWildcard
- Specified by:
asWildcardin interfaceXSTerm
-
asModelGroupDecl
- Specified by:
asModelGroupDeclin interfaceXSTerm
-
asModelGroup
- Specified by:
asModelGroupin interfaceXSTerm
-
asElementDecl
- Specified by:
asElementDeclin interfaceXSTerm
-
visit
Description copied from interface:XSComponentAccepts a visitor.- Specified by:
visitin interfaceXSComponent
-
visit
-
apply
-
apply
-
apply
Description copied from interface:XSComponentAccepts a functor.- Specified by:
applyin interfaceXSComponent
-
getTerm
Description copied from interface:Ref.TermObtains a reference as a term.
-