public class TraversingQueryNodeVisitor extends DefaultQueryNodeVisitor
TraversingQueryNodeVisitor
implements a base class for a
traversing query node visitor.Constructor and Description |
---|
TraversingQueryNodeVisitor() |
Modifier and Type | Method and 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) |
public Object visit(OrQueryNode node, Object data) throws RepositoryException
visit
in interface QueryNodeVisitor
visit
in class DefaultQueryNodeVisitor
RepositoryException
public Object visit(AndQueryNode node, Object data) throws RepositoryException
visit
in interface QueryNodeVisitor
visit
in class DefaultQueryNodeVisitor
RepositoryException
public Object visit(QueryRootNode node, Object data) throws RepositoryException
visit
in interface QueryNodeVisitor
visit
in class DefaultQueryNodeVisitor
RepositoryException
public Object visit(NotQueryNode node, Object data) throws RepositoryException
visit
in interface QueryNodeVisitor
visit
in class DefaultQueryNodeVisitor
RepositoryException
public Object visit(PathQueryNode node, Object data) throws RepositoryException
visit
in interface QueryNodeVisitor
visit
in class DefaultQueryNodeVisitor
RepositoryException
public Object visit(LocationStepQueryNode node, Object data) throws RepositoryException
visit
in interface QueryNodeVisitor
visit
in class DefaultQueryNodeVisitor
RepositoryException
public Object visit(DerefQueryNode node, Object data) throws RepositoryException
visit
in interface QueryNodeVisitor
visit
in class DefaultQueryNodeVisitor
RepositoryException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.