Package jadex.xml

Interface IPostProcessor

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.Object DISCARD_OBJECT
      If this object is returned by the post-processor, the object will be discarded by the reader.
    • Field Detail

      • DISCARD_OBJECT

        static final java.lang.Object DISCARD_OBJECT
        If this object is returned by the post-processor, the object will be discarded by the reader.
    • Method Detail

      • postProcess

        java.lang.Object postProcess​(IContext context,
                                     java.lang.Object object)
        Post-process an object after an XML has been loaded.
        Parameters:
        context - The context.
        object - The object to post process.
        Returns:
        A possibly other object for replacing the original. Null for no change. Only possibly when processor is applied in first pass.
      • getPass

        int getPass()
        Get the pass number.
        Returns:
        The pass number (starting with 0 for first pass).