public interface QueryNodeFactory
QueryNode
s.NodeTypeQueryNode createNodeTypeQueryNode(QueryNode parent, Name nodeType)
NodeTypeQueryNode
instance.parent
- the parent node.nodeType
- the name of the node type.NodeTypeQueryNode
.AndQueryNode createAndQueryNode(QueryNode parent)
AndQueryNode
instance.parent
- the parent node.AndQueryNode
.LocationStepQueryNode createLocationStepQueryNode(QueryNode parent)
LocationStepQueryNode
instance.parent
- the parent node.LocationStepQueryNode
.DerefQueryNode createDerefQueryNode(QueryNode parent, Name nameTest, boolean descendants)
DerefQueryNode
instance.parent
- the parent node.nameTest
- the name test on the referenced target node.descendants
- if the axis is //DerefQueryNode
.NotQueryNode createNotQueryNode(QueryNode parent)
NotQueryNode
instance.parent
- the parent node.NotQueryNode
.OrQueryNode createOrQueryNode(QueryNode parent)
OrQueryNode
instance.parent
- the parent node.OrQueryNode
.RelationQueryNode createRelationQueryNode(QueryNode parent, int operation)
RelationQueryNode
instance.parent
- the parent node.operation
- the operation type.RelationQueryNode
.PathQueryNode createPathQueryNode(QueryNode parent)
PathQueryNode
instance.parent
- the parent node.PathQueryNode
.OrderQueryNode createOrderQueryNode(QueryNode parent)
OrderQueryNode
instance.parent
- the parent node.OrderQueryNode
.PropertyFunctionQueryNode createPropertyFunctionQueryNode(QueryNode parent, String functionName)
PropertyFunctionQueryNode
instance.parent
- the parent node.functionName
- the name of the function.PropertyFunctionQueryNode
.QueryRootNode createQueryRootNode()
QueryRootNode
instance.QueryRootNode
.TextsearchQueryNode createTextsearchQueryNode(QueryNode parent, String query)
TextsearchQueryNode
instance.parent
- the parent node.query
- the textsearch statement.TextsearchQueryNode
.Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.