Top Description Fields Constructors Methods
com.sun.xml.xsom.impl.scd

public final Class SCDImpl

extends SCD
Class Inheritance
Imports
com.sun.xml.xsom.SCD, .XSComponent, java.util.Iterator

Schema component designator.
Author
Kohsuke Kawaguchi

Field Summary

Modifier and TypeField and Description
private final Step<T extends XSComponent>[]
steps

SCD is fundamentally a list of steps.

private final String
text

The original textual SCD representation.

Constructor Summary

AccessConstructor and Description
public
SCDImpl(String text, Step<T extends XSComponent>[] steps)

Method Summary

Modifier and TypeMethod and Description
public Iterator<XSComponent>
select(Iterator<? extends XSComponent> contextNode)

Implements abstract com.sun.xml.xsom.SCD.select.

Evaluates the SCD against the given set of context nodes and returns the matched nodes.

public String
toString()

Implements abstract com.sun.xml.xsom.SCD.toString.

Returns the textual SCD representation as given to SCD#create(String, NamespaceContext).

Inherited from com.sun.xml.xsom.SCD:
createselectselectselectselectSingleselectSingle

Field Detail

stepsback to summary
private final Step<T extends XSComponent>[] steps

SCD is fundamentally a list of steps.

textback to summary
private final String text

The original textual SCD representation.

Constructor Detail

SCDImplback to summary
public SCDImpl(String text, Step<T extends XSComponent>[] steps)

Method Detail

selectback to summary
public Iterator<XSComponent> select(Iterator<? extends XSComponent> contextNode)

Implements abstract com.sun.xml.xsom.SCD.select.

Doc from com.sun.xml.xsom.SCD.select.

Evaluates the SCD against the given set of context nodes and returns the matched nodes.

toStringback to summary
public String toString()

Implements abstract com.sun.xml.xsom.SCD.toString.

Doc from com.sun.xml.xsom.SCD.toString.

Returns the textual SCD representation as given to SCD#create(String, NamespaceContext).