com.atlassian.query.clause
Interface ClauseVisitor<R>

All Known Implementing Classes:
ClauseRemovingCloningVisitor, ClauseRenamingCloningVisitor, ClauseReplacingCloningVisitor, ClauseSanitisingVisitor, DeMorgansVisitor, FreeTextVisitor, NamedTerminalClauseCollectingVisitor, OperatorCollectingVisitor, QueryContextVisitor, RecursiveClauseVisitor, RelevantSearcherVisitor, SimpleNavigatorCollectorVisitor, TerminalClauseCollectingVisitor, UpgradeTask_Build604.NamifyingClauseVisitor, ValidatorVisitor

public interface ClauseVisitor<R>

A visitor that allows you to perform operations on a Query.

Since:
v4.0

Method Summary
 R visit(AndClause andClause)
          Visit called when accepting a AndClause.
 R visit(ChangedClause clause)
          Visit called when accepting a ChangedClause.
 R visit(NotClause notClause)
          Visit called when accepting a NotClause.
 R visit(OrClause orClause)
          Visit called when accepting a OrClause.
 R visit(TerminalClause clause)
          Visit called when accepting a TerminalClause.
 R visit(WasClause clause)
          Visit called when accepting a WasClause.
 

Method Detail

visit

R visit(AndClause andClause)
Visit called when accepting a AndClause.

Parameters:
andClause - the node being visited.
Returns:
The return type specified by the visitor.

visit

R visit(NotClause notClause)
Visit called when accepting a NotClause.

Parameters:
notClause - the node being visited.
Returns:
The return type specified by the visitor.

visit

R visit(OrClause orClause)
Visit called when accepting a OrClause.

Parameters:
orClause - the node being visited.
Returns:
The return type specified by the visitor.

visit

R visit(TerminalClause clause)
Visit called when accepting a TerminalClause.

Parameters:
clause - the node being visited.
Returns:
The return type specified by the visitor.

visit

R visit(WasClause clause)
Visit called when accepting a WasClause.

Parameters:
clause - the node being visited.
Returns:
The return type specified by the visitor.

visit

R visit(ChangedClause clause)
Visit called when accepting a ChangedClause.

Parameters:
clause - the node being visited.
Returns:
The return type specified by the visitor.


Copyright © 2002-2012 Atlassian. All Rights Reserved.