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

      Fields 
      Modifier and Type Field Description
      (package private) int begin
      != null The term's begin position.
      (package private) int end
      The term's end position.
      (package private) java.lang.CharSequence value  
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryText​(java.lang.CharSequence value, int begin, int end)  
    • Field Detail

      • value

        java.lang.CharSequence value
      • begin

        int begin
        != null The term's begin position.
      • end

        int end
        The term's 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
        Overrides:
        clone in class java.lang.Object
        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