Class DefaultQueryNodeVisitor
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.query.DefaultQueryNodeVisitor
-
- All Implemented Interfaces:
QueryNodeVisitor
- Direct Known Subclasses:
TraversingQueryNodeVisitor
public class DefaultQueryNodeVisitor extends Object implements QueryNodeVisitor
Implements theQueryNodeVisitor
interface with default behaviour. All methods are no-ops and return thedata
argument.
-
-
Constructor Summary
Constructors Constructor Description DefaultQueryNodeVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
visit(AndQueryNode node, Object data)
Object
visit(DerefQueryNode node, Object data)
Object
visit(ExactQueryNode node, Object data)
Object
visit(LocationStepQueryNode node, Object data)
Object
visit(NodeTypeQueryNode node, Object data)
Object
visit(NotQueryNode node, Object data)
Object
visit(OrderQueryNode node, Object data)
Object
visit(OrQueryNode node, Object data)
Object
visit(PathQueryNode node, Object data)
Object
visit(PropertyFunctionQueryNode node, Object data)
Object
visit(QueryRootNode node, Object data)
Object
visit(RelationQueryNode node, Object data)
Object
visit(TextsearchQueryNode node, Object data)
-
-
-
Method Detail
-
visit
public Object visit(QueryRootNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(OrQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(AndQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(NotQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(ExactQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(NodeTypeQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(TextsearchQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(PathQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(LocationStepQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(RelationQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(OrderQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(DerefQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(PropertyFunctionQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Throws:
RepositoryException
-
-