Package com.sun.xml.xsom.impl.scd
Class Axis.ModelGroupAxis
java.lang.Object
com.sun.xml.xsom.impl.scd.Axis.ModelGroupAxis
- All Implemented Interfaces:
Axis<XSModelGroup>
,XSContentTypeFunction<Iterator<XSModelGroup>>
,XSFunction<Iterator<XSModelGroup>>
,XSTermFunction<Iterator<XSModelGroup>>
- Enclosing interface:
Axis<T extends XSComponent>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.sun.xml.xsom.impl.scd.Axis
Axis.ModelGroupAxis
-
Field Summary
Fields inherited from interface com.sun.xml.xsom.impl.scd.Axis
ATTRIBUTE, ATTRIBUTE_GROUP, ATTRIBUTE_WILDCARD, BASETYPE, DESCENDANTS, ELEMENT, FACET, IDENTITY_CONSTRAINT, INTERMEDIATE_SKIP, ITEM_TYPE, MEMBER_TYPE, MODEL_GROUP_DECL, MODELGROUP_ALL, MODELGROUP_ANY, MODELGROUP_CHOICE, MODELGROUP_SEQUENCE, NOTATION, PRIMITIVE_TYPE, REFERENCED_KEY, ROOT, SCOPE, SUBSTITUTION_GROUP, TYPE_DEFINITION, WILDCARD, X_SCHEMA
-
Method Summary
Modifier and TypeMethodDescriptionannotation
(XSAnnotation ann) attGroupDecl
(XSAttGroupDecl decl) attributeDecl
(XSAttributeDecl decl) complexType
(XSComplexType type) elementDecl
(XSElementDecl decl) protected final Iterator<XSModelGroup>
empty()
Returns an empty list.empty
(XSContentType empty) getName()
Gets the prefix of the axis, like "foo::".boolean
Returns true if this is one of the model group axis.iterator
(XSComponent contextNode) iterator
(Iterator<? extends XSComponent> contextNodes) Default implementation that simply delegate stoAxis.iterator(XSComponent)
modelGroup
(XSModelGroup group) notation
(XSNotation notation) particle
(XSParticle particle) simpleType
(XSSimpleType simpleType) protected final Iterator<XSModelGroup>
Creates a singleton list.toString()
protected final Iterator<XSModelGroup>
union
(Iterator<? extends XSModelGroup> first, Iterator<? extends XSModelGroup> second) protected final Iterator<XSModelGroup>
union
(XSModelGroup... items) wildcard
(XSWildcard wc)
-
Method Details
-
isModelGroup
public boolean isModelGroup()Description copied from interface:Axis
Returns true if this is one of the model group axis.- Specified by:
isModelGroup
in interfaceAxis<XSModelGroup>
-
particle
- Specified by:
particle
in interfaceXSContentTypeFunction<Iterator<XSModelGroup>>
-
modelGroupDecl
- Specified by:
modelGroupDecl
in interfaceXSTermFunction<Iterator<XSModelGroup>>
-
toString
-
singleton
Creates a singleton list. -
union
-
union
protected final Iterator<XSModelGroup> union(Iterator<? extends XSModelGroup> first, Iterator<? extends XSModelGroup> second) -
iterator
- Specified by:
iterator
in interfaceAxis<T extends XSComponent>
-
getName
Gets the prefix of the axis, like "foo::". -
iterator
Default implementation that simply delegate stoAxis.iterator(XSComponent)
- Specified by:
iterator
in interfaceAxis<T extends XSComponent>
-
annotation
- Specified by:
annotation
in interfaceXSFunction<T extends XSComponent>
-
attGroupDecl
- Specified by:
attGroupDecl
in interfaceXSFunction<T extends XSComponent>
-
attributeDecl
- Specified by:
attributeDecl
in interfaceXSFunction<T extends XSComponent>
-
attributeUse
- Specified by:
attributeUse
in interfaceXSFunction<T extends XSComponent>
-
complexType
- Specified by:
complexType
in interfaceXSFunction<T extends XSComponent>
-
schema
- Specified by:
schema
in interfaceXSFunction<T extends XSComponent>
-
facet
- Specified by:
facet
in interfaceXSFunction<T extends XSComponent>
-
notation
- Specified by:
notation
in interfaceXSFunction<T extends XSComponent>
-
identityConstraint
- Specified by:
identityConstraint
in interfaceXSFunction<T extends XSComponent>
-
xpath
- Specified by:
xpath
in interfaceXSFunction<T extends XSComponent>
-
simpleType
- Specified by:
simpleType
in interfaceXSContentTypeFunction<T extends XSComponent>
-
empty
- Specified by:
empty
in interfaceXSContentTypeFunction<T extends XSComponent>
-
wildcard
- Specified by:
wildcard
in interfaceXSTermFunction<T extends XSComponent>
-
modelGroup
- Specified by:
modelGroup
in interfaceXSTermFunction<T extends XSComponent>
-
elementDecl
- Specified by:
elementDecl
in interfaceXSTermFunction<T extends XSComponent>
-
empty
Returns an empty list.
-