com.atlassian.query.operand
Interface OperandVisitor<R>

Type Parameters:
R - the return type from the visitor methods. Can be set to Void to indicate that the return value is not important.
All Known Implementing Classes:
DefaultOperandSanitisingVisitor

public interface OperandVisitor<R>

A visitor that the caller to perform operations on Operands.


Method Summary
 R visit(EmptyOperand empty)
          The method called when visiting an EmptyOperand.
 R visit(FunctionOperand function)
          The method called when visiting a FunctionOperand.
 R visit(MultiValueOperand multiValue)
          The method called when visiting an MultiValueOperand.
 R visit(SingleValueOperand singleValueOperand)
          The method called when visiting an SingleValueOperand.
 

Method Detail

visit

R visit(EmptyOperand empty)
The method called when visiting an EmptyOperand.

Parameters:
empty - the operand being visited.
Returns:
the value to return from the operand visit.

visit

R visit(FunctionOperand function)
The method called when visiting a FunctionOperand.

Parameters:
function - the operand being visited.
Returns:
the value to return from the operand visit.

visit

R visit(MultiValueOperand multiValue)
The method called when visiting an MultiValueOperand.

Parameters:
multiValue - the operand being visited.
Returns:
the value to return from the operand visit.

visit

R visit(SingleValueOperand singleValueOperand)
The method called when visiting an SingleValueOperand.

Parameters:
singleValueOperand - the operand being visited.
Returns:
the value to return from the operand visit.


Copyright © 2002-2011 Atlassian. All Rights Reserved.