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 Object
visit(AndQueryNode node, Object data)
Object
visit(DerefQueryNode node, Object data)
Object
visit(LocationStepQueryNode node, Object data)
Object
visit(NotQueryNode node, Object data)
Object
visit(OrQueryNode node, Object data)
Object
visit(PathQueryNode node, Object data)
Object
visit(QueryRootNode node, Object data)
-
-
-
Method Detail
-
visit
public Object visit(OrQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Overrides:
visit
in classDefaultQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(AndQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Overrides:
visit
in classDefaultQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(QueryRootNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Overrides:
visit
in classDefaultQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(NotQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Overrides:
visit
in classDefaultQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(PathQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Overrides:
visit
in classDefaultQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(LocationStepQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Overrides:
visit
in classDefaultQueryNodeVisitor
- Throws:
RepositoryException
-
visit
public Object visit(DerefQueryNode node, Object data) throws RepositoryException
- Specified by:
visit
in interfaceQueryNodeVisitor
- Overrides:
visit
in classDefaultQueryNodeVisitor
- Throws:
RepositoryException
-
-