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>
public static final class Axis.ModelGroupAxis extends Object
-
-
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
-
-
-
Method Detail
-
isModelGroup
public boolean isModelGroup()
Description copied from interface:AxisReturns true if this is one of the model group axis.- Specified by:
isModelGroupin interfaceAxis<XSModelGroup>
-
particle
public Iterator<XSModelGroup> particle(XSParticle particle)
- Specified by:
particlein interfaceXSContentTypeFunction<Iterator<XSModelGroup>>
-
modelGroupDecl
public Iterator<XSModelGroup> modelGroupDecl(XSModelGroupDecl decl)
- Specified by:
modelGroupDeclin interfaceXSTermFunction<Iterator<XSModelGroup>>
-
singleton
protected final Iterator<T> singleton(T t)
Creates a singleton list.
-
union
protected final Iterator<T> union(T... items)
-
iterator
public Iterator<T> iterator(XSComponent contextNode)
- Specified by:
iteratorin interfaceAxis<T extends XSComponent>
-
getName
public String getName()
Gets the prefix of the axis, like "foo::".
-
iterator
public Iterator<T> iterator(Iterator<? extends XSComponent> contextNodes)
Default implementation that simply delegate stoAxis.iterator(XSComponent)- Specified by:
iteratorin interfaceAxis<T extends XSComponent>
-
annotation
public Iterator<T> annotation(XSAnnotation ann)
- Specified by:
annotationin interfaceXSFunction<T extends XSComponent>
-
attGroupDecl
public Iterator<T> attGroupDecl(XSAttGroupDecl decl)
- Specified by:
attGroupDeclin interfaceXSFunction<T extends XSComponent>
-
attributeDecl
public Iterator<T> attributeDecl(XSAttributeDecl decl)
- Specified by:
attributeDeclin interfaceXSFunction<T extends XSComponent>
-
attributeUse
public Iterator<T> attributeUse(XSAttributeUse use)
- Specified by:
attributeUsein interfaceXSFunction<T extends XSComponent>
-
complexType
public Iterator<T> complexType(XSComplexType type)
- Specified by:
complexTypein interfaceXSFunction<T extends XSComponent>
-
schema
public Iterator<T> schema(XSSchema schema)
- Specified by:
schemain interfaceXSFunction<T extends XSComponent>
-
facet
public Iterator<T> facet(XSFacet facet)
- Specified by:
facetin interfaceXSFunction<T extends XSComponent>
-
notation
public Iterator<T> notation(XSNotation notation)
- Specified by:
notationin interfaceXSFunction<T extends XSComponent>
-
identityConstraint
public Iterator<T> identityConstraint(XSIdentityConstraint decl)
- Specified by:
identityConstraintin interfaceXSFunction<T extends XSComponent>
-
xpath
public Iterator<T> xpath(XSXPath xpath)
- Specified by:
xpathin interfaceXSFunction<T extends XSComponent>
-
simpleType
public Iterator<T> simpleType(XSSimpleType simpleType)
- Specified by:
simpleTypein interfaceXSContentTypeFunction<T extends XSComponent>
-
empty
public Iterator<T> empty(XSContentType empty)
- Specified by:
emptyin interfaceXSContentTypeFunction<T extends XSComponent>
-
wildcard
public Iterator<T> wildcard(XSWildcard wc)
- Specified by:
wildcardin interfaceXSTermFunction<T extends XSComponent>
-
modelGroup
public Iterator<T> modelGroup(XSModelGroup group)
- Specified by:
modelGroupin interfaceXSTermFunction<T extends XSComponent>
-
elementDecl
public Iterator<T> elementDecl(XSElementDecl decl)
- Specified by:
elementDeclin interfaceXSTermFunction<T extends XSComponent>
-
empty
protected final Iterator<T> empty()
Returns an empty list.
-
-