|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.spi.commons.query.DefaultQueryNodeFactory
public class DefaultQueryNodeFactory
Default implementetation of a QueryNodeFactory
.
Constructor Summary | |
---|---|
DefaultQueryNodeFactory(List validJcrSystemNodeTypeNames)
Creates a DefaultQueryNodeFactory with the given node types under /jcr:system . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultQueryNodeFactory(List validJcrSystemNodeTypeNames)
Method Detail |
---|
public NodeTypeQueryNode createNodeTypeQueryNode(QueryNode parent, Name nodeType)
NodeTypeQueryNode
instance.
createNodeTypeQueryNode
in interface QueryNodeFactory
parent
- the parent node.nodeType
- the name of the node type.
NodeTypeQueryNode
.public AndQueryNode createAndQueryNode(QueryNode parent)
AndQueryNode
instance.
createAndQueryNode
in interface QueryNodeFactory
parent
- the parent node.
AndQueryNode
.public LocationStepQueryNode createLocationStepQueryNode(QueryNode parent)
LocationStepQueryNode
instance.
createLocationStepQueryNode
in interface QueryNodeFactory
parent
- the parent node.
LocationStepQueryNode
.public DerefQueryNode createDerefQueryNode(QueryNode parent, Name nameTest, boolean descendants)
DerefQueryNode
instance.
createDerefQueryNode
in interface QueryNodeFactory
parent
- the parent node.nameTest
- the name test on the referenced target node.descendants
- if the axis is //
DerefQueryNode
.public NotQueryNode createNotQueryNode(QueryNode parent)
NotQueryNode
instance.
createNotQueryNode
in interface QueryNodeFactory
parent
- the parent node.
NotQueryNode
.public OrQueryNode createOrQueryNode(QueryNode parent)
OrQueryNode
instance.
createOrQueryNode
in interface QueryNodeFactory
parent
- the parent node.
OrQueryNode
.public RelationQueryNode createRelationQueryNode(QueryNode parent, int operation)
RelationQueryNode
instance.
createRelationQueryNode
in interface QueryNodeFactory
parent
- the parent node.operation
- the operation type.
RelationQueryNode
.public PathQueryNode createPathQueryNode(QueryNode parent)
PathQueryNode
instance.
createPathQueryNode
in interface QueryNodeFactory
parent
- the parent node.
PathQueryNode
.public OrderQueryNode createOrderQueryNode(QueryNode parent)
OrderQueryNode
instance.
createOrderQueryNode
in interface QueryNodeFactory
parent
- the parent node.
OrderQueryNode
.public PropertyFunctionQueryNode createPropertyFunctionQueryNode(QueryNode parent, String functionName)
PropertyFunctionQueryNode
instance.
createPropertyFunctionQueryNode
in interface QueryNodeFactory
parent
- the parent node.functionName
- the name of the function.
PropertyFunctionQueryNode
.public QueryRootNode createQueryRootNode()
QueryRootNode
instance.
createQueryRootNode
in interface QueryNodeFactory
QueryRootNode
.public TextsearchQueryNode createTextsearchQueryNode(QueryNode parent, String query)
TextsearchQueryNode
instance.
createTextsearchQueryNode
in interface QueryNodeFactory
parent
- the parent node.query
- the textsearch statement.
TextsearchQueryNode
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |