public class DefaultQueryNodeVisitor extends Object implements QueryNodeVisitor
QueryNodeVisitor
interface with default behaviour.
All methods are no-ops and return the data
argument.Constructor and Description |
---|
DefaultQueryNodeVisitor() |
Modifier and Type | Method and 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) |
public Object visit(QueryRootNode node, Object data) throws javax.jcr.RepositoryException
visit
in interface QueryNodeVisitor
javax.jcr.RepositoryException
public Object visit(OrQueryNode node, Object data) throws javax.jcr.RepositoryException
visit
in interface QueryNodeVisitor
javax.jcr.RepositoryException
public Object visit(AndQueryNode node, Object data) throws javax.jcr.RepositoryException
visit
in interface QueryNodeVisitor
javax.jcr.RepositoryException
public Object visit(NotQueryNode node, Object data) throws javax.jcr.RepositoryException
visit
in interface QueryNodeVisitor
javax.jcr.RepositoryException
public Object visit(ExactQueryNode node, Object data) throws javax.jcr.RepositoryException
visit
in interface QueryNodeVisitor
javax.jcr.RepositoryException
public Object visit(NodeTypeQueryNode node, Object data) throws javax.jcr.RepositoryException
visit
in interface QueryNodeVisitor
javax.jcr.RepositoryException
public Object visit(TextsearchQueryNode node, Object data) throws javax.jcr.RepositoryException
visit
in interface QueryNodeVisitor
javax.jcr.RepositoryException
public Object visit(PathQueryNode node, Object data) throws javax.jcr.RepositoryException
visit
in interface QueryNodeVisitor
javax.jcr.RepositoryException
public Object visit(LocationStepQueryNode node, Object data) throws javax.jcr.RepositoryException
visit
in interface QueryNodeVisitor
javax.jcr.RepositoryException
public Object visit(RelationQueryNode node, Object data) throws javax.jcr.RepositoryException
visit
in interface QueryNodeVisitor
javax.jcr.RepositoryException
public Object visit(OrderQueryNode node, Object data) throws javax.jcr.RepositoryException
visit
in interface QueryNodeVisitor
javax.jcr.RepositoryException
public Object visit(DerefQueryNode node, Object data) throws javax.jcr.RepositoryException
visit
in interface QueryNodeVisitor
javax.jcr.RepositoryException
public Object visit(PropertyFunctionQueryNode node, Object data) throws javax.jcr.RepositoryException
visit
in interface QueryNodeVisitor
javax.jcr.RepositoryException
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.