XSOM 20110809-redhat-3

com.sun.xml.xsom.impl.scd
Class SCDImpl

java.lang.Object
  extended by com.sun.xml.xsom.SCD
      extended by com.sun.xml.xsom.impl.scd.SCDImpl

public final class SCDImpl
extends SCD

Schema component designator.

Author:
Kohsuke Kawaguchi

Constructor Summary
SCDImpl(String text, Step[] steps)
           
 
Method Summary
 Iterator<XSComponent> select(Iterator<? extends XSComponent> contextNode)
          Evaluates the SCD against the given set of context nodes and returns the matched nodes.
 String toString()
          Returns the textual SCD representation as given to SCD.create(String, NamespaceContext).
 
Methods inherited from class com.sun.xml.xsom.SCD
create, select, select, select, selectSingle, selectSingle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SCDImpl

public SCDImpl(String text,
               Step[] steps)
Method Detail

select

public Iterator<XSComponent> select(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 class SCD
Parameters:
contextNode - XSComponents that represent the context node against which SCD is evaluated.
Returns:
could be empty but never be null.

toString

public String toString()
Description copied from class: SCD
Returns the textual SCD representation as given to SCD.create(String, NamespaceContext).

Specified by:
toString in class SCD

XSOM 20110809-redhat-3

Copyright © 2012 Oracle. All Rights Reserved.