PathQueryNode
A PathQueryNode is used to store queries like /company/USA/California /product/shoes/brown. QueryText are objects that contain the text, begin position and end position in the query.
Example how the text parser creates these objects:
val values = ArrayList<PathQueryNode.QueryText>()
values.add(PathQueryNode.QueryText("company", 1, 7))
values.add(PathQueryNode.QueryText("USA", 9, 12))
values.add(PathQueryNode.QueryText("California", 14, 23))
val q: QueryNode = PathQueryNode(values)Content copied to clipboard
Types
Link copied to clipboard
class QueryText(var value: CharSequence, var begin: Int, var end: Int) : Cloneable<PathQueryNode.QueryText>
Term text with a beginning and end position
Properties
Functions
Link copied to clipboard
verify if a node contains a tag
Link copied to clipboard
Returns the a specific QueryText element
Link copied to clipboard
Returns a List QueryText element from position startIndex
Link copied to clipboard
Remove a child node
Link copied to clipboard
Removes this query node from its parent.
Link copied to clipboard
convert to a query string understood by the query parser