Class AbsolutePath


  • public class AbsolutePath
    extends Path

    Represents an absolute SPath expression. Essentially a marker class.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private boolean all  
      private RelativePath base  
    • Constructor Summary

      Constructors 
      Constructor Description
      AbsolutePath​(RelativePath base)
      Constructs a new AbsolutePath object based on a RelativePath.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List getSteps()
      Retrives an ordered list of Step objects representing this expression.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbsolutePath

        public AbsolutePath​(RelativePath base)
        Constructs a new AbsolutePath object based on a RelativePath. An absolute path is the same as a relative path, except that it begins with '/' or '//' (which one, of those two, can be determined by the first Step returned from getSteps()).
    • Method Detail

      • getSteps

        public java.util.List getSteps()
        Description copied from class: Path
        Retrives an ordered list of Step objects representing this expression. The result is safely modifiable by the caller and must support List.add(Object) and List.add(int, Object).
        Specified by:
        getSteps in class Path