com.sun.xml.xsom.impl.scd
Class Step<T extends XSComponent>

java.lang.Object
  extended by com.sun.xml.xsom.impl.scd.Step<T>

public abstract class Step<T extends XSComponent>
extends java.lang.Object

Building block of SCD.

Author:
Kohsuke Kawaguchi

Field Summary
 Axis<? extends T> axis
           
 
Constructor Summary
protected Step(Axis<? extends T> axis)
           
 
Method Summary
 java.util.Iterator<T> evaluate(java.util.Iterator<XSComponent> nodeSet)
          Evaluate this step against the current node set and returns matched nodes.
protected abstract  java.util.Iterator<? extends T> filter(java.util.Iterator<? extends T> base)
          Perform filtering (which is different depending on the kind of step.)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

axis

public final Axis<? extends T extends XSComponent> axis
Constructor Detail

Step

protected Step(Axis<? extends T> axis)
Method Detail

filter

protected abstract java.util.Iterator<? extends T> filter(java.util.Iterator<? extends T> base)
Perform filtering (which is different depending on the kind of step.)


evaluate

public final java.util.Iterator<T> evaluate(java.util.Iterator<XSComponent> nodeSet)
Evaluate this step against the current node set and returns matched nodes.



Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.