Package com.sun.xml.xsom
Interface XSModelGroup
- All Superinterfaces:
Iterable<XSParticle>
,XSComponent
,XSTerm
- All Known Implementing Classes:
ModelGroupImpl
Model group.
- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
Type-safe enumeration for kind of model groups. -
Field Summary
Modifier and TypeFieldDescriptionstatic final XSModelGroup.Compositor
A constant that represents "all" compositor.static final XSModelGroup.Compositor
A constant that represents "choice" compositor.static final XSModelGroup.Compositor
A constant that represents "sequence" compositor. -
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
Methods inherited from interface com.sun.xml.xsom.XSComponent
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
Methods inherited from interface com.sun.xml.xsom.XSTerm
apply, apply, asElementDecl, asModelGroup, asModelGroupDecl, asWildcard, isElementDecl, isModelGroup, isModelGroupDecl, isWildcard, visit
-
Field Details
-
ALL
A constant that represents "all" compositor. -
SEQUENCE
A constant that represents "sequence" compositor. -
CHOICE
A constant that represents "choice" compositor.
-
-
Method Details
-
getCompositor
XSModelGroup.Compositor getCompositor() -
getChild
Gets i-ith child. -
getSize
int getSize()Gets the number of children. -
getChildren
XSParticle[] getChildren()Gets all the children in one array.
-