Interface NodeVisitor.Control<R>
- Enclosing interface:
NodeVisitor<N,
R>
public static interface NodeVisitor.Control<R>
-
Method Summary
-
Method Details
-
stop
void stop()Stop visiting returning null. -
stop
Stop visiting returning the specified value. short forsetResult(Object)
andstop()
. -
setResult
Sets a temporary result value and keeps traversing. Useful to define default return values from withinNodeVisitor.init(Control)
. -
getResult
R getResult()- Returns:
- the result of the traversal
-