Package org.apache.openjpa.kernel.exps
Class AbstractExpressionVisitor
- java.lang.Object
-
- org.apache.openjpa.kernel.exps.AbstractExpressionVisitor
-
- All Implemented Interfaces:
ExpressionVisitor
public abstract class AbstractExpressionVisitor extends java.lang.Object implements ExpressionVisitor
No-op abstract visitor meant for easy extension.- Author:
- Abe White
-
-
Constructor Summary
Constructors Constructor Description AbstractExpressionVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
enter(Expression exp)
Enter an expression.void
enter(Value val)
Enter a value.void
exit(Expression exp)
Leave an expression.void
exit(Value val)
Leave a value.
-
-
-
Method Detail
-
enter
public void enter(Expression exp)
Description copied from interface:ExpressionVisitor
Enter an expression. The expression will then invoke visits on its components.- Specified by:
enter
in interfaceExpressionVisitor
-
exit
public void exit(Expression exp)
Description copied from interface:ExpressionVisitor
Leave an expression.- Specified by:
exit
in interfaceExpressionVisitor
-
enter
public void enter(Value val)
Description copied from interface:ExpressionVisitor
Enter a value. The value will then invoke visits on its components.- Specified by:
enter
in interfaceExpressionVisitor
-
exit
public void exit(Value val)
Description copied from interface:ExpressionVisitor
Leave a value.- Specified by:
exit
in interfaceExpressionVisitor
-
-