Class TraversingQueryNodeVisitor
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.query.DefaultQueryNodeVisitor
-
- org.apache.jackrabbit.spi.commons.query.TraversingQueryNodeVisitor
-
- All Implemented Interfaces:
QueryNodeVisitor
public class TraversingQueryNodeVisitor extends DefaultQueryNodeVisitor
TraversingQueryNodeVisitor
implements a base class for a traversing query node visitor.
-
-
Constructor Summary
Constructors Constructor Description TraversingQueryNodeVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
visit(AndQueryNode node, java.lang.Object data)
java.lang.Object
visit(DerefQueryNode node, java.lang.Object data)
java.lang.Object
visit(LocationStepQueryNode node, java.lang.Object data)
java.lang.Object
visit(NotQueryNode node, java.lang.Object data)
java.lang.Object
visit(OrQueryNode node, java.lang.Object data)
java.lang.Object
visit(PathQueryNode node, java.lang.Object data)
java.lang.Object
visit(QueryRootNode node, java.lang.Object data)
-
-
-
Method Detail
-
visit
public java.lang.Object visit(OrQueryNode node, java.lang.Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Overrides:
visit
in classDefaultQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public java.lang.Object visit(AndQueryNode node, java.lang.Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Overrides:
visit
in classDefaultQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public java.lang.Object visit(QueryRootNode node, java.lang.Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Overrides:
visit
in classDefaultQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public java.lang.Object visit(NotQueryNode node, java.lang.Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Overrides:
visit
in classDefaultQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public java.lang.Object visit(PathQueryNode node, java.lang.Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Overrides:
visit
in classDefaultQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public java.lang.Object visit(LocationStepQueryNode node, java.lang.Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Overrides:
visit
in classDefaultQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public java.lang.Object visit(DerefQueryNode node, java.lang.Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Overrides:
visit
in classDefaultQueryNodeVisitor
- Throws:
RepositoryException
-
-