Package com.sun.xml.xsom.impl.scd
Class SCDImpl
- java.lang.Object
-
- com.sun.xml.xsom.SCD
-
- com.sun.xml.xsom.impl.scd.SCDImpl
-
public final class SCDImpl extends SCD
Schema component designator.- Author:
- Kohsuke Kawaguchi
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 toSCD.create(String, NamespaceContext)
.-
Methods inherited from class com.sun.xml.xsom.SCD
create, select, select, select, selectSingle, selectSingle
-
-
-
-
Constructor Detail
-
SCDImpl
public SCDImpl(java.lang.String text, Step[] steps)
-
-
Method Detail
-
select
public java.util.Iterator<XSComponent> select(java.util.Iterator<? extends XSComponent> contextNode)
Description copied from class:SCD
Evaluates the SCD against the given set of context nodes and returns the matched nodes.- Specified by:
select
in classSCD
- Parameters:
contextNode
-XSComponent
s that represent the context node against whichSCD
is evaluated.- Returns:
- could be empty but never be null.
-
toString
public java.lang.String toString()
Description copied from class:SCD
Returns the textual SCD representation as given toSCD.create(String, NamespaceContext)
.
-
-