Class IgPathHandler
java.lang.Object
com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractDeserializationHandler
com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractReentrantDeserializationHandler
com.inductiveautomation.ignition.common.xmlserialization.deserialization.handlers.IgPathHandler
- All Implemented Interfaces:
DeserializationHandler
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.
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractReentrantDeserializationHandler
objectTL, refTL
Fields inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractDeserializationHandler
object, refId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Deprecated.Clones this handler.void
endElement
(DeserializationContext context) Deprecated.Notifies the handler that their element has ended.Decoder<?>
Deprecated.Called when body data is encountered in this tag or a sub-tag.Deprecated.Returns the name of the element type that this handler ...void
Deprecated.Called when body data is encountered in this tag or a sub-tag.void
startElement
(String name, AttributesMap attributes, DeserializationContext context) Deprecated.Notifies the handler that their element has started.boolean
Deprecated.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 com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractReentrantDeserializationHandler
getObject, getRefId, setObject, setRefId
Methods inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractDeserializationHandler
endObject, endSubElement, startSubElement
-
Constructor Details
-
IgPathHandler
public IgPathHandler()Deprecated.
-
-
Method Details
-
startElement
public void startElement(String name, AttributesMap attributes, DeserializationContext context) throws Exception Deprecated.Description copied from interface:DeserializationHandler
Notifies the handler that their element has started.- Throws:
Exception
-
endElement
Deprecated.Description copied from interface:DeserializationHandler
Notifies the handler that their element has ended.- Throws:
Exception
-
onBody
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 (seeDeserializationHandler.getBodyDecoder()
), and then this function will be called. -
getBodyDecoder
Deprecated.Description copied from interface:DeserializationHandler
Called when body data is encountered in this tag or a sub-tag. Used to decode the body into an object, which is then passed toDeserializationHandler.onBody(Object)
-
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.
-
clone
Deprecated.Description copied from interface:DeserializationHandler
Clones this handler. Only handlers that support nested elements will be cloned, all others can throw an unsupported operation exception instead.- Specified by:
clone
in interfaceDeserializationHandler
- Specified by:
clone
in classAbstractDeserializationHandler
-