public class UUIDProcessor extends Object implements ITraverseProcessor
Constructor and Description |
---|
UUIDProcessor() |
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.
|
public boolean isApplicable(Object object, Class<?> clazz, boolean clone, ClassLoader targetcl)
isApplicable
in interface ITraverseProcessor
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.public Object process(Object object, Class<?> clazz, List<ITraverseProcessor> processors, Traverser traverser, Map<Object,Object> traversed, boolean clone, ClassLoader targetcl, Object context)
process
in interface ITraverseProcessor
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 © 2012. All Rights Reserved.