Interface QueryNodeFactory
-
- All Known Implementing Classes:
DefaultQueryNodeFactory
public interface QueryNodeFactory
A factory forQueryNode
s.
-
-
Method Summary
-
-
-
Method Detail
-
createNodeTypeQueryNode
NodeTypeQueryNode createNodeTypeQueryNode(QueryNode parent, Name nodeType)
Creates aNodeTypeQueryNode
instance.- Parameters:
parent
- the parent node.nodeType
- the name of the node type.- Returns:
- a
NodeTypeQueryNode
.
-
createAndQueryNode
AndQueryNode createAndQueryNode(QueryNode parent)
Creates aAndQueryNode
instance.- Parameters:
parent
- the parent node.- Returns:
- a
AndQueryNode
.
-
createLocationStepQueryNode
LocationStepQueryNode createLocationStepQueryNode(QueryNode parent)
Creates aLocationStepQueryNode
instance.- Parameters:
parent
- the parent node.- Returns:
- a
LocationStepQueryNode
.
-
createDerefQueryNode
DerefQueryNode createDerefQueryNode(QueryNode parent, Name nameTest, boolean descendants)
Creates aDerefQueryNode
instance.- Parameters:
parent
- the parent node.nameTest
- the name test on the referenced target node.descendants
- if the axis is //- Returns:
- a
DerefQueryNode
.
-
createNotQueryNode
NotQueryNode createNotQueryNode(QueryNode parent)
Creates aNotQueryNode
instance.- Parameters:
parent
- the parent node.- Returns:
- a
NotQueryNode
.
-
createOrQueryNode
OrQueryNode createOrQueryNode(QueryNode parent)
Creates aOrQueryNode
instance.- Parameters:
parent
- the parent node.- Returns:
- a
OrQueryNode
.
-
createRelationQueryNode
RelationQueryNode createRelationQueryNode(QueryNode parent, int operation)
Creates aRelationQueryNode
instance.- Parameters:
parent
- the parent node.operation
- the operation type.- Returns:
- a
RelationQueryNode
.
-
createPathQueryNode
PathQueryNode createPathQueryNode(QueryNode parent)
Creates aPathQueryNode
instance.- Parameters:
parent
- the parent node.- Returns:
- a
PathQueryNode
.
-
createOrderQueryNode
OrderQueryNode createOrderQueryNode(QueryNode parent)
Creates aOrderQueryNode
instance.- Parameters:
parent
- the parent node.- Returns:
- a
OrderQueryNode
.
-
createPropertyFunctionQueryNode
PropertyFunctionQueryNode createPropertyFunctionQueryNode(QueryNode parent, String functionName)
Creates aPropertyFunctionQueryNode
instance.- Parameters:
parent
- the parent node.functionName
- the name of the function.- Returns:
- a
PropertyFunctionQueryNode
.
-
createQueryRootNode
QueryRootNode createQueryRootNode()
Creates aQueryRootNode
instance.- Returns:
- a
QueryRootNode
.
-
createTextsearchQueryNode
TextsearchQueryNode createTextsearchQueryNode(QueryNode parent, String query)
Creates aTextsearchQueryNode
instance.- Parameters:
parent
- the parent node.query
- the textsearch statement.- Returns:
- a
TextsearchQueryNode
.
-
-