public abstract class TraversalUtilVisitor<T>
extends java.lang.Object
| Constructor and Description |
|---|
TraversalUtilVisitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(T element)
Apply method if there is no need to access the surrounding elements
|
void |
apply(T element,
java.lang.Object parent,
java.util.List<java.lang.Object> siblings) |
public void apply(T element, java.lang.Object parent, java.util.List<java.lang.Object> siblings)
element - parent - (logical?)parent in the of the elementsiblings - List of the element (this includes the element itself).
This list can't be changed while the visitor is running(!)public void apply(T element)
element - Copyright © 2007–2023. All rights reserved.