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
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 |
isModelGroup
public boolean isModelGroup()
- Description copied from interface:
Axis
- Returns true if this is one of the model group axis.
- Specified by:
isModelGroup
in interface Axis<XSModelGroup>
particle
public Iterator<XSModelGroup> particle(XSParticle particle)
- Specified by:
particle
in interface XSContentTypeFunction<Iterator<XSModelGroup>>
modelGroupDecl
public Iterator<XSModelGroup> modelGroupDecl(XSModelGroupDecl decl)
- Specified by:
modelGroupDecl
in interface XSTermFunction<Iterator<XSModelGroup>>
toString
public String toString()
- Overrides:
toString
in class Object
singleton
protected final Iterator<T> singleton(T t)
- Creates a singleton list.
union
protected final Iterator<T> union(T... items)
union
protected final Iterator<T> union(Iterator<? extends T> first,
Iterator<? extends T> second)
iterator
public Iterator<T> iterator(XSComponent contextNode)
- Specified by:
iterator
in interface Axis<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 sto
iterator(XSComponent)
- Specified by:
iterator
in interface Axis<T extends XSComponent>
annotation
public Iterator<T> annotation(XSAnnotation ann)
- Specified by:
annotation
in interface XSFunction<Iterator<T extends XSComponent>>
attGroupDecl
public Iterator<T> attGroupDecl(XSAttGroupDecl decl)
- Specified by:
attGroupDecl
in interface XSFunction<Iterator<T extends XSComponent>>
attributeDecl
public Iterator<T> attributeDecl(XSAttributeDecl decl)
- Specified by:
attributeDecl
in interface XSFunction<Iterator<T extends XSComponent>>
attributeUse
public Iterator<T> attributeUse(XSAttributeUse use)
- Specified by:
attributeUse
in interface XSFunction<Iterator<T extends XSComponent>>
complexType
public Iterator<T> complexType(XSComplexType type)
- Specified by:
complexType
in interface XSFunction<Iterator<T extends XSComponent>>
schema
public Iterator<T> schema(XSSchema schema)
- Specified by:
schema
in interface XSFunction<Iterator<T extends XSComponent>>
facet
public Iterator<T> facet(XSFacet facet)
- Specified by:
facet
in interface XSFunction<Iterator<T extends XSComponent>>
notation
public Iterator<T> notation(XSNotation notation)
- Specified by:
notation
in interface XSFunction<Iterator<T extends XSComponent>>
identityConstraint
public Iterator<T> identityConstraint(XSIdentityConstraint decl)
- Specified by:
identityConstraint
in interface XSFunction<Iterator<T extends XSComponent>>
xpath
public Iterator<T> xpath(XSXPath xpath)
- Specified by:
xpath
in interface XSFunction<Iterator<T extends XSComponent>>
simpleType
public Iterator<T> simpleType(XSSimpleType simpleType)
- Specified by:
simpleType
in interface XSContentTypeFunction<Iterator<T extends XSComponent>>
empty
public Iterator<T> empty(XSContentType empty)
- Specified by:
empty
in interface XSContentTypeFunction<Iterator<T extends XSComponent>>
wildcard
public Iterator<T> wildcard(XSWildcard wc)
- Specified by:
wildcard
in interface XSTermFunction<Iterator<T extends XSComponent>>
modelGroup
public Iterator<T> modelGroup(XSModelGroup group)
- Specified by:
modelGroup
in interface XSTermFunction<Iterator<T extends XSComponent>>
elementDecl
public Iterator<T> elementDecl(XSElementDecl decl)
- Specified by:
elementDecl
in interface XSTermFunction<Iterator<T extends XSComponent>>
empty
protected final Iterator<T> empty()
- Returns an empty list.
Copyright © 2012 Oracle. All Rights Reserved.