Package jadex.binary
Class SBinarySerializer.BinaryWriteTraverser
- java.lang.Object
-
- jadex.commons.transformation.traverser.Traverser
-
- jadex.binary.SBinarySerializer.BinaryWriteTraverser
-
- Enclosing class:
- SBinarySerializer
protected static class SBinarySerializer.BinaryWriteTraverser extends Traverser
Traverser for writing.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jadex.commons.transformation.traverser.Traverser
Traverser.MODE
-
-
Field Summary
-
Fields inherited from class jadex.commons.transformation.traverser.Traverser
IGNORE_RESULT, instance, processorcache, processors
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
BinaryWriteTraverser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalizeProcessing(java.lang.Object inputobject, java.lang.Object outputobject, ITraverseProcessor convproc, ITraverseProcessor proc, java.lang.Object context)
Handle objects after all processing steps have been done before object is returned.java.lang.Object
preemptProcessing(java.lang.Object inputobject, java.lang.reflect.Type inputtype, java.lang.Object context)
Allows preemption of processing, if the return value is not null, the returned object is used and processing is skipped.-
Methods inherited from class jadex.commons.transformation.traverser.Traverser
doTraverse, findClazz, getDefaultProcessors, getInstance, traverse, traverseObject, traverseObject, traverseObject, traverseObject
-
-
-
-
Method Detail
-
preemptProcessing
public java.lang.Object preemptProcessing(java.lang.Object inputobject, java.lang.reflect.Type inputtype, java.lang.Object context)
Description copied from class:Traverser
Allows preemption of processing, if the return value is not null, the returned object is used and processing is skipped.- Overrides:
preemptProcessing
in classTraverser
- Parameters:
inputobject
- The input objectinputtype
- The input class.context
- The context.- Returns:
- Null to process as normal, any other object skips normal processing.
-
finalizeProcessing
public void finalizeProcessing(java.lang.Object inputobject, java.lang.Object outputobject, ITraverseProcessor convproc, ITraverseProcessor proc, java.lang.Object context)
Description copied from class:Traverser
Handle objects after all processing steps have been done before object is returned. Not called for objects returned by preHandle().- Overrides:
finalizeProcessing
in classTraverser
- Parameters:
inputobject
- The input objectoutputobject
- The object after processing.context
- The context.
-
-