public class AltChunkFinder extends TraversalUtil.CallbackImpl
Modifier and Type | Class and Description |
---|---|
static class |
AltChunkFinder.LocatedChunk
Track the parent of altChunk.
|
Constructor and Description |
---|
AltChunkFinder() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
apply(Object o)
Visits a node in pre order (before its children have been visited).
|
List<Object> |
apply(Object o,
List contentList,
int index) |
List<AltChunkFinder.LocatedChunk> |
getAltChunks() |
void |
walkJAXBElements(Object parent) |
getChildren, shouldTraverse
public List<Object> apply(Object o)
TraversalUtil.CallbackImpl
TraversalUtil.CallbackImpl.shouldTraverse(Object)
).
Implementations can have side effects.
apply
in interface TraversalUtil.Callback
apply
in class TraversalUtil.CallbackImpl
public void walkJAXBElements(Object parent)
walkJAXBElements
in interface TraversalUtil.Callback
walkJAXBElements
in class TraversalUtil.CallbackImpl
public List<AltChunkFinder.LocatedChunk> getAltChunks()
Copyright © 2007-2019. All Rights Reserved.