Class Step<T extends XSComponent>


  • public abstract class Step<T extends XSComponent>
    extends java.lang.Object
    Building block of SCD.
    Author:
    Kohsuke Kawaguchi
    • Field Summary

      Fields 
      Modifier and Type Field Description
      Axis<? extends T> axis  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Step​(Axis<? extends T> axis)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • 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.