Class NullHandler

    • Constructor Summary

      Constructors 
      Constructor Description
      NullHandler()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      DeserializationHandler clone()
      Clones this handler.
      void endElement​(DeserializationContext context)
      Notifies the handler that their element has ended.
      void endObject​(java.lang.Object obj)
      Notifies the handler that an object tag was found and deserialized within their scope
      void endSubElement​(java.lang.String name, DeserializationContext context)
      Notifies the handler that a sub-element has ended
      Decoder<?> getBodyDecoder()
      Called when body data is encountered in this tag or a sub-tag.
      java.lang.String getElementName()
      Returns the name of the element type that this handler ...
      java.lang.Object getObject()
      Returns the most recent object that this handler created.
      int getRefId()
      Returns the reference id that was in the start of this element, or -1 if there was none
      void onBody​(java.lang.Object body)
      Called when body data is encountered in this tag or a sub-tag.
      void setRefId​(int id)
      Sets the ref-id that was found at the start of this element, if any.
      void startElement​(java.lang.String name, AttributesMap attributes, DeserializationContext context)
      Notifies the handler that their element has started.
      void startSubElement​(java.lang.String name, AttributesMap attributes, DeserializationContext context)
      Notifies the handler that a sub-element has started.
      boolean supportsNestedElements()
      Return true if the element type that you're parsing can have nested elements, or false if you're a singleton element.
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait