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, methodSigFields inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractDeserializationHandler
object, refId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones this handler.voidNotifies the handler that an object tag was found and deserialized within their scopevoidendSubElement(String name, DeserializationContext context) Notifies the handler that a sub-element has endedReturns the name of the element type that this handler ...voidstartSubElement(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, supportsNestedElementsMethods 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:DeserializationHandlerClones this handler. Only handlers that support nested elements will be cloned, all others can throw an unsupported operation exception instead.- Specified by:
clonein interfaceDeserializationHandler- Overrides:
clonein classObjectDeserializationHandler
-
endObject
Description copied from interface:DeserializationHandlerNotifies the handler that an object tag was found and deserialized within their scope- Specified by:
endObjectin interfaceDeserializationHandler- Overrides:
endObjectin classObjectDeserializationHandler
-
startSubElement
public void startSubElement(String name, AttributesMap attributes, DeserializationContext context) throws Exception Description copied from interface:DeserializationHandlerNotifies the handler that a sub-element has started.- Specified by:
startSubElementin interfaceDeserializationHandler- Overrides:
startSubElementin classObjectDeserializationHandler- Throws:
Exception
-
endSubElement
Description copied from interface:DeserializationHandlerNotifies the handler that a sub-element has ended- Specified by:
endSubElementin interfaceDeserializationHandler- Overrides:
endSubElementin classObjectDeserializationHandler- Throws:
Exception
-
getElementName
Description copied from interface:DeserializationHandlerReturns the name of the element type that this handler ... handles.- Specified by:
getElementNamein interfaceDeserializationHandler- Overrides:
getElementNamein classObjectDeserializationHandler
-