Class PathQueryNode.QueryText

  • All Implemented Interfaces:
    java.lang.Cloneable
    Enclosing class:
    PathQueryNode

    public static class PathQueryNode.QueryText
    extends java.lang.Object
    implements java.lang.Cloneable
    Term text with a beginning and end position
    • Constructor Detail

      • QueryText

        public QueryText​(java.lang.CharSequence value,
                         int begin,
                         int end)
        Parameters:
        value - - text value
        begin - - position in the query string
        end - - position in the query string
    • Method Detail

      • clone

        public PathQueryNode.QueryText clone()
                                      throws java.lang.CloneNotSupportedException
        Throws:
        java.lang.CloneNotSupportedException
      • getValue

        public java.lang.CharSequence getValue()
        Returns:
        the value
      • getBegin

        public int getBegin()
        Returns:
        the begin
      • getEnd

        public int getEnd()
        Returns:
        the end
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object