@Deprecated public class IgPathHandler extends AbstractReentrantDeserializationHandler
objectTL, refTLobject, refId| Constructor and Description |
|---|
IgPathHandler()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
DeserializationHandler |
clone()
Deprecated.
Clones this handler.
|
void |
endElement(DeserializationContext context)
Deprecated.
Notifies the handler that their element has ended.
|
Decoder<?> |
getBodyDecoder()
Deprecated.
Called when body data is encountered in this tag or a sub-tag.
|
java.lang.String |
getElementName()
Deprecated.
Returns the name of the element type that this handler ...
|
void |
onBody(java.lang.Object body)
Deprecated.
Called when body data is encountered in this tag or a sub-tag.
|
void |
startElement(java.lang.String name,
AttributesMap attributes,
DeserializationContext context)
Deprecated.
Notifies the handler that their element has started.
|
boolean |
supportsNestedElements()
Deprecated.
Return true if the element type that you're parsing can have nested elements, or false if you're a singleton
element.
|
getObject, getRefId, setObject, setRefIdendObject, endSubElement, startSubElementpublic void startElement(java.lang.String name,
AttributesMap attributes,
DeserializationContext context)
throws java.lang.Exception
DeserializationHandlerjava.lang.Exceptionpublic void endElement(DeserializationContext context) throws java.lang.Exception
DeserializationHandlerjava.lang.Exceptionpublic void onBody(java.lang.Object body)
DeserializationHandlerDeserializationHandler.getBodyDecoder()), and then this function will be called.public Decoder<?> getBodyDecoder()
DeserializationHandlerDeserializationHandler.onBody(Object)public java.lang.String getElementName()
DeserializationHandlerpublic boolean supportsNestedElements()
DeserializationHandlerReturn 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.
public DeserializationHandler clone()
DeserializationHandlerclone in interface DeserializationHandlerclone in class AbstractDeserializationHandler