|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.xquery.BasicExpressionVisitor
Basic implementation of the ExpressionVisitor
interface.
This implementation will traverse a PathExpr object if it wraps
around a single other expression. All other methods are empty.
Constructor Summary | |
BasicExpressionVisitor()
|
Method Summary | |
void |
visit(Expression expression)
Default fallback method if no other method matches the object's type. |
void |
visitCastExpr(CastExpression expression)
Found a CastExpression |
void |
visitPathExpr(PathExpr expression)
Default implementation will traverse a PathExpr if it is just a wrapper around another single expression object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasicExpressionVisitor()
Method Detail |
public void visit(Expression expression)
ExpressionVisitor
visit
in interface ExpressionVisitor
expression
- public void visitCastExpr(CastExpression expression)
ExpressionVisitor
visitCastExpr
in interface ExpressionVisitor
public void visitPathExpr(PathExpr expression)
visitPathExpr
in interface ExpressionVisitor
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |