public interface Visitable
Visitableis 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.
|Modifier and Type||Method and Description|
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:
ExpressionVisitorinstance 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 tree
ODataApplicationException- Exception thrown by the application who implemented the visitor
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.