public static class PathQueryNode.QueryText
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and 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 and Description |
---|
QueryText(java.lang.CharSequence value,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
PathQueryNode.QueryText |
clone() |
int |
getBegin() |
int |
getEnd() |
java.lang.CharSequence |
getValue() |
java.lang.String |
toString() |
java.lang.CharSequence value
int begin
int end
public QueryText(java.lang.CharSequence value, int begin, int end)
value
- - text valuebegin
- - position in the query stringend
- - position in the query stringpublic PathQueryNode.QueryText clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.CharSequence getValue()
public int getBegin()
public int getEnd()
public java.lang.String toString()
toString
in class java.lang.Object