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
  • Constructor Details

    • SCDImpl

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

    • 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 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