Class IgPathHandler

  • All Implemented Interfaces:
    DeserializationHandler

    @Deprecated
    public class IgPathHandler
    extends AbstractReentrantDeserializationHandler
    Deprecated.
    IgPath only existed in 7.6 beta, replace with "QualifiedPath" in the release. This is left here to avoid breaking compatibility with objects serialized in that version, but can be removed eventually.
    • Constructor Detail

      • IgPathHandler

        public IgPathHandler()
        Deprecated.
    • Method Detail

      • startElement

        public void startElement​(java.lang.String name,
                                 AttributesMap attributes,
                                 DeserializationContext context)
                          throws java.lang.Exception
        Deprecated.
        Description copied from interface: DeserializationHandler
        Notifies the handler that their element has started.
        Throws:
        java.lang.Exception
      • endElement

        public void endElement​(DeserializationContext context)
                        throws java.lang.Exception
        Deprecated.
        Description copied from interface: DeserializationHandler
        Notifies the handler that their element has ended.
        Throws:
        java.lang.Exception
      • onBody

        public void onBody​(java.lang.Object body)
        Deprecated.
        Description copied from interface: DeserializationHandler
        Called when body data is encountered in this tag or a sub-tag. This data is first interpreted by the handler-provided decoder (see DeserializationHandler.getBodyDecoder()), and then this function will be called.
      • getElementName

        public java.lang.String getElementName()
        Deprecated.
        Description copied from interface: DeserializationHandler
        Returns the name of the element type that this handler ... handles.
      • supportsNestedElements

        public boolean supportsNestedElements()
        Deprecated.
        Description copied from interface: DeserializationHandler

        Return true if the element type that you're parsing can have nested elements, or false if you're a singleton element. If you return true, you need to implement clone().

        Note As of Ignition 7.6.5 with support for multi-deserialization, you should also return true from this and implement clone() if your return object is mutable, otherwise instances may be shared amongst multi-deserialized objects.