public interface Visitable
Visitable
is part of the visitor pattern used to traverse
the expression tree build from a $filter expression string or $orderby expression string.
It is implemented by each class used as node in an expression tree.ExpressionVisitor
Modifier and Type | Method and Description |
---|---|
Object |
accept(ExpressionVisitor visitor)
Method
accept(ExpressionVisitor) is called when traversing the expression tree. |
Object accept(ExpressionVisitor visitor) throws ExceptionVisitExpression, ODataApplicationException
accept(ExpressionVisitor)
is called when traversing the expression tree. This method is invoked on
each
expression used as node in an expression tree. The implementations should
behave as follows:
ExpressionVisitor
instance and provide the stored objects to that
instance
visitor
- Object ( implementing ExpressionVisitor
) whose methods are called during traversing a expression node of
the expression tree.ExceptionVisitExpression
- Exception occurred the OData library while traversing the treeODataApplicationException
- Exception thrown by the application who implemented the visitorCopyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.