Package com.sun.xml.xsom.impl.scd
Interface Axis<T extends XSComponent>
- Type Parameters:
T- The kind of components that this axis may return.
- All Known Implementing Classes:
Axis.ModelGroupAxis
public interface Axis<T extends XSComponent>
Axis of traversal.
- Author:
- Kohsuke Kawaguchi
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Axis<XSAttributeDecl>static final Axis<XSAttGroupDecl>static final Axis<XSWildcard>static final Axis<XSComponent>All descendants reachable via default axes.static final Axis<XSElementDecl>static final Axis<XSIdentityConstraint>static final Axis<XSComponent>Pseudo-axis that visits all skipped intermediate steps.static final Axis<XSSimpleType>static final Axis<XSSimpleType>static final Axis<XSModelGroupDecl>static final Axis<XSModelGroup>static final Axis<XSModelGroup>static final Axis<XSModelGroup>static final Axis<XSModelGroup>static final Axis<XSNotation>static final Axis<XSSimpleType>static final Axis<XSIdentityConstraint>Pseudo-axis that selects all theXSSchemas in the current set.static final Axis<XSComponent>static final Axis<XSElementDecl>static final Axis<XSWildcard> -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if this is one of the model group axis.iterator(XSComponent contextNode) iterator(Iterator<? extends XSComponent> contextNodes)
-
Field Details
-
ROOT
Pseudo-axis that selects all theXSSchemas in the current set. Used to implement the absolute path expression -
INTERMEDIATE_SKIP
Pseudo-axis that visits all skipped intermediate steps. Those are:- complex type reachable from element
- model groups
- combination of above.
-
DESCENDANTS
All descendants reachable via default axes. Used to implement the "//" semantics. So far the default axes together are guaranteed not to cause any cycle, so no cycle check is needed (if it's needed, the life would be much harder!) -
X_SCHEMA
-
SUBSTITUTION_GROUP
-
ATTRIBUTE
-
ELEMENT
-
TYPE_DEFINITION
-
BASETYPE
-
PRIMITIVE_TYPE
-
ITEM_TYPE
-
MEMBER_TYPE
-
SCOPE
-
ATTRIBUTE_GROUP
-
MODEL_GROUP_DECL
-
IDENTITY_CONSTRAINT
-
REFERENCED_KEY
-
NOTATION
-
WILDCARD
-
ATTRIBUTE_WILDCARD
-
FACET
-
MODELGROUP_ALL
-
MODELGROUP_CHOICE
-
MODELGROUP_SEQUENCE
-
MODELGROUP_ANY
-
-
Method Details
-
iterator
-
iterator
-
isModelGroup
boolean isModelGroup()Returns true if this is one of the model group axis.
-