Package com.sun.xml.xsom.impl.scd
Class Step<T extends XSComponent>
- java.lang.Object
-
- com.sun.xml.xsom.impl.scd.Step<T>
-
- Direct Known Subclasses:
Step.Any,Step.Filtered
public abstract class Step<T extends XSComponent> extends java.lang.ObjectBuilding block ofSCD.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classStep.AnonymousTypeMatches anonymous types.(package private) static classStep.AnyMatches any name.(package private) static classStep.FacetMatches a particular kind of facets.private static classStep.Filtered<T extends XSComponent>(package private) static classStep.NamedMatches a particular name.(package private) static classStep.SchemaMatches a schema in a particular namespace.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.Iterator<T>evaluate(java.util.Iterator<XSComponent> nodeSet)Evaluate this step against the current node set and returns matched nodes.protected abstract java.util.Iterator<? extends T>filter(java.util.Iterator<? extends T> base)Perform filtering (which is different depending on the kind of step.)
-
-
-
Field Detail
-
axis
public final Axis<? extends T extends XSComponent> axis
-
predicate
int predicate
'Predicate' in SCD designates the index of the item. -1 if there's no predicate. Predicate starts from 1.Because of the parsing order this parameter cannot be marked final, even though it's immutable once it's parsed.
-
-
Method Detail
-
filter
protected abstract java.util.Iterator<? extends T> filter(java.util.Iterator<? extends T> base)
Perform filtering (which is different depending on the kind of step.)
-
evaluate
public final java.util.Iterator<T> evaluate(java.util.Iterator<XSComponent> nodeSet)
Evaluate this step against the current node set and returns matched nodes.
-
-