public class ClassFinder extends TraversalUtil.CallbackImpl
Modifier and Type | Field and Description |
---|---|
List<Object> |
results |
protected Class<?> |
typeToFind |
Constructor and Description |
---|
ClassFinder(Class<?> typeToFind) |
Modifier and Type | Method and Description |
---|---|
List<Object> |
apply(Object o)
Visits a node in pre order (before its children have been visited).
|
getChildren, shouldTraverse, walkJAXBElements
public ClassFinder(Class<?> typeToFind)
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
Copyright © 2007-2014. All Rights Reserved.