Package jadex.binary

Class SBinarySerializer.BinaryWriteTraverser

  • Enclosing class:
    SBinarySerializer

    protected static class SBinarySerializer.BinaryWriteTraverser
    extends Traverser
    Traverser for writing.
    • Constructor Detail

      • BinaryWriteTraverser

        protected BinaryWriteTraverser()
    • 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 class Traverser
        Parameters:
        inputobject - The input object
        inputtype - 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 class Traverser
        Parameters:
        inputobject - The input object
        outputobject - The object after processing.
        context - The context.