Class AbstractHelper

    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractHelper()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      void renderValue​(java.lang.Object aObj, JSONObject aParent, JSONMarshall aMarshall, java.util.HashMap aPool)
      Convert an element to JSON.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractHelper

        public AbstractHelper()
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • renderValue

        public void renderValue​(java.lang.Object aObj,
                                JSONObject aParent,
                                JSONMarshall aMarshall,
                                java.util.HashMap aPool)
                         throws MarshallException
        Description copied from interface: MarshallHelper
        Convert an element to JSON.
        Specified by:
        renderValue in interface MarshallHelper
        Parameters:
        aObj - Instance that should be rendered to JSON.
        aParent - The parent element where we have to put the rendered information. A helper is allowed to add child elements.
        aMarshall - The marshall we can use to recursively render parts of our own object.
        aPool - A pool of objects already encountered. Is used to resolve references.
        Throws:
        MarshallException