Class ComponentDeserializationHandler
java.lang.Object
com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractDeserializationHandler
com.inductiveautomation.ignition.common.xmlserialization.deserialization.handlers.ObjectDeserializationHandler
com.inductiveautomation.factorypmi.application.xmlserialization.ComponentDeserializationHandler
- All Implemented Interfaces:
DeserializationHandler
-
Field Summary
Fields inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.handlers.ObjectDeserializationHandler
args, clazz, methodName, methodSig
Fields inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractDeserializationHandler
object, refId
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones this handler.void
Notifies the handler that an object tag was found and deserialized within their scopevoid
endSubElement
(String name, DeserializationContext context) Notifies the handler that a sub-element has endedReturns the name of the element type that this handler ...void
startSubElement
(String name, AttributesMap attributes, DeserializationContext context) Notifies the handler that a sub-element has started.Methods inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.handlers.ObjectDeserializationHandler
endElement, getBodyDecoder, onBody, startElement, supportsNestedElements
Methods inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractDeserializationHandler
getObject, getRefId, setObject, setRefId
-
Constructor Details
-
ComponentDeserializationHandler
public ComponentDeserializationHandler()
-
-
Method Details
-
clone
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
- Overrides:
clone
in classObjectDeserializationHandler
-
endObject
Description copied from interface:DeserializationHandler
Notifies the handler that an object tag was found and deserialized within their scope- Specified by:
endObject
in interfaceDeserializationHandler
- Overrides:
endObject
in classObjectDeserializationHandler
-
startSubElement
public void startSubElement(String name, AttributesMap attributes, DeserializationContext context) throws Exception Description copied from interface:DeserializationHandler
Notifies the handler that a sub-element has started.- Specified by:
startSubElement
in interfaceDeserializationHandler
- Overrides:
startSubElement
in classObjectDeserializationHandler
- Throws:
Exception
-
endSubElement
Description copied from interface:DeserializationHandler
Notifies the handler that a sub-element has ended- Specified by:
endSubElement
in interfaceDeserializationHandler
- Overrides:
endSubElement
in classObjectDeserializationHandler
- Throws:
Exception
-
getElementName
Description copied from interface:DeserializationHandler
Returns the name of the element type that this handler ... handles.- Specified by:
getElementName
in interfaceDeserializationHandler
- Overrides:
getElementName
in classObjectDeserializationHandler
-