public interface ITraverseProcessor
Modifier and Type | Method and Description |
---|---|
boolean |
isApplicable(Object object,
Class<?> clazz,
boolean clone,
ClassLoader targetcl)
Test if the processor is applicable.
|
Object |
process(Object object,
Class<?> clazz,
List<ITraverseProcessor> processors,
Traverser traverser,
Map<Object,Object> traversed,
boolean clone,
ClassLoader targetcl,
Object context)
Process an object.
|
boolean isApplicable(Object object, Class<?> clazz, boolean clone, ClassLoader targetcl)
object
- The object.targetcl
- If not null, the traverser should make sure that the result object is compatible with the class loader,
e.g. by cloning the object using the class loaded from the target class loader.Object process(Object object, Class<?> clazz, List<ITraverseProcessor> processors, Traverser traverser, Map<Object,Object> traversed, boolean clone, ClassLoader targetcl, Object context)
object
- The object.targetcl
- If not null, the traverser should make sure that the result object is compatible with the class loader,
e.g. by cloning the object using the class loaded from the target class loader.Copyright © 2015. All Rights Reserved.