public final class SCDImpl extends SCD
Modifier and Type | Field and Description |
---|---|
private Step[] |
steps
SCD is fundamentally a list of steps.
|
private java.lang.String |
text
The original textual SCD representation.
|
Constructor and Description |
---|
SCDImpl(java.lang.String text,
Step[] steps) |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<XSComponent> |
select(java.util.Iterator<? extends XSComponent> contextNode)
Evaluates the SCD against the given set of context nodes and
returns the matched nodes.
|
java.lang.String |
toString()
Returns the textual SCD representation as given to
SCD.create(String, NamespaceContext) . |
create, select, select, select, selectSingle, selectSingle
private final Step[] steps
private final java.lang.String text
public SCDImpl(java.lang.String text, Step[] steps)
public java.util.Iterator<XSComponent> select(java.util.Iterator<? extends XSComponent> contextNode)
SCD
select
in class SCD
contextNode
- XSComponent
s that represent the context node against
which SCD
is evaluated.public java.lang.String toString()
SCD
SCD.create(String, NamespaceContext)
.