Interface QueryNodeFactory
-
- All Known Implementing Classes:
DefaultQueryNodeFactory
public interface QueryNodeFactoryA factory forQueryNodes.
-
-
Method Summary
-
-
-
Method Detail
-
createNodeTypeQueryNode
NodeTypeQueryNode createNodeTypeQueryNode(QueryNode parent, Name nodeType)
Creates aNodeTypeQueryNodeinstance.- Parameters:
parent- the parent node.nodeType- the name of the node type.- Returns:
- a
NodeTypeQueryNode.
-
createAndQueryNode
AndQueryNode createAndQueryNode(QueryNode parent)
Creates aAndQueryNodeinstance.- Parameters:
parent- the parent node.- Returns:
- a
AndQueryNode.
-
createLocationStepQueryNode
LocationStepQueryNode createLocationStepQueryNode(QueryNode parent)
Creates aLocationStepQueryNodeinstance.- Parameters:
parent- the parent node.- Returns:
- a
LocationStepQueryNode.
-
createDerefQueryNode
DerefQueryNode createDerefQueryNode(QueryNode parent, Name nameTest, boolean descendants)
Creates aDerefQueryNodeinstance.- 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 aNotQueryNodeinstance.- Parameters:
parent- the parent node.- Returns:
- a
NotQueryNode.
-
createOrQueryNode
OrQueryNode createOrQueryNode(QueryNode parent)
Creates aOrQueryNodeinstance.- Parameters:
parent- the parent node.- Returns:
- a
OrQueryNode.
-
createRelationQueryNode
RelationQueryNode createRelationQueryNode(QueryNode parent, int operation)
Creates aRelationQueryNodeinstance.- Parameters:
parent- the parent node.operation- the operation type.- Returns:
- a
RelationQueryNode.
-
createPathQueryNode
PathQueryNode createPathQueryNode(QueryNode parent)
Creates aPathQueryNodeinstance.- Parameters:
parent- the parent node.- Returns:
- a
PathQueryNode.
-
createOrderQueryNode
OrderQueryNode createOrderQueryNode(QueryNode parent)
Creates aOrderQueryNodeinstance.- Parameters:
parent- the parent node.- Returns:
- a
OrderQueryNode.
-
createPropertyFunctionQueryNode
PropertyFunctionQueryNode createPropertyFunctionQueryNode(QueryNode parent, String functionName)
Creates aPropertyFunctionQueryNodeinstance.- Parameters:
parent- the parent node.functionName- the name of the function.- Returns:
- a
PropertyFunctionQueryNode.
-
createQueryRootNode
QueryRootNode createQueryRootNode()
Creates aQueryRootNodeinstance.- Returns:
- a
QueryRootNode.
-
createTextsearchQueryNode
TextsearchQueryNode createTextsearchQueryNode(QueryNode parent, String query)
Creates aTextsearchQueryNodeinstance.- Parameters:
parent- the parent node.query- the textsearch statement.- Returns:
- a
TextsearchQueryNode.
-
-