@PublicApi public class TreeTransformerUtil extends java.lang.Object
| Constructor and Description |
|---|
TreeTransformerUtil() |
| Modifier and Type | Method and Description |
|---|---|
static <T> TraversalControl |
changeNode(TraverserContext<T> context,
T changedNode)
Can be called multiple times to change the current node of the context.
|
static <T> TraversalControl |
deleteNode(TraverserContext<T> context) |
static <T> TraversalControl |
insertAfter(TraverserContext<T> context,
T toInsertAfter) |
static <T> TraversalControl |
insertBefore(TraverserContext<T> context,
T toInsertBefore) |
public static <T> TraversalControl changeNode(TraverserContext<T> context, T changedNode)
T - context - changedNode - public static <T> TraversalControl deleteNode(TraverserContext<T> context)
public static <T> TraversalControl insertAfter(TraverserContext<T> context, T toInsertAfter)
public static <T> TraversalControl insertBefore(TraverserContext<T> context, T toInsertBefore)