com.atlassian.jira.issue.search.searchers.util
Class RecursiveClauseVisitor

java.lang.Object
  extended by com.atlassian.jira.issue.search.searchers.util.RecursiveClauseVisitor
All Implemented Interfaces:
ClauseVisitor<java.lang.Void>
Direct Known Subclasses:
NamedTerminalClauseCollectingVisitor, TerminalClauseCollectingVisitor

public class RecursiveClauseVisitor
extends java.lang.Object
implements ClauseVisitor<java.lang.Void>

A base clause visitor that recursively visits each clause in a clause tree.

Since:
v4.0

Constructor Summary
RecursiveClauseVisitor()
           
 
Method Summary
 java.lang.Void visit(AndClause andClause)
          Visit called when accepting a AndClause.
 java.lang.Void visit(NotClause notClause)
          Visit called when accepting a NotClause.
 java.lang.Void visit(OrClause orClause)
          Visit called when accepting a OrClause.
 java.lang.Void visit(TerminalClause clause)
          Visit called when accepting a TerminalClause.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecursiveClauseVisitor

public RecursiveClauseVisitor()
Method Detail

visit

public java.lang.Void visit(AndClause andClause)
Description copied from interface: ClauseVisitor
Visit called when accepting a AndClause.

Specified by:
visit in interface ClauseVisitor<java.lang.Void>
Parameters:
andClause - the node being visited.
Returns:
The return type specified by the visitor.

visit

public java.lang.Void visit(NotClause notClause)
Description copied from interface: ClauseVisitor
Visit called when accepting a NotClause.

Specified by:
visit in interface ClauseVisitor<java.lang.Void>
Parameters:
notClause - the node being visited.
Returns:
The return type specified by the visitor.

visit

public java.lang.Void visit(OrClause orClause)
Description copied from interface: ClauseVisitor
Visit called when accepting a OrClause.

Specified by:
visit in interface ClauseVisitor<java.lang.Void>
Parameters:
orClause - the node being visited.
Returns:
The return type specified by the visitor.

visit

public java.lang.Void visit(TerminalClause clause)
Description copied from interface: ClauseVisitor
Visit called when accepting a TerminalClause.

Specified by:
visit in interface ClauseVisitor<java.lang.Void>
Parameters:
clause - the node being visited.
Returns:
The return type specified by the visitor.


Copyright © 2002-2010 Atlassian. All Rights Reserved.