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
public class ComponentDeserializationHandler extends ObjectDeserializationHandler
-
-
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 Constructor Description ComponentDeserializationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeserializationHandlerclone()Clones this handler.voidendObject(java.lang.Object obj)Notifies the handler that an object tag was found and deserialized within their scopevoidendSubElement(java.lang.String name, DeserializationContext context)Notifies the handler that a sub-element has endedjava.lang.StringgetElementName()Returns the name of the element type that this handler ...voidstartSubElement(java.lang.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
-
-
-
-
Method Detail
-
clone
public DeserializationHandler 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
public void endObject(java.lang.Object obj)
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(java.lang.String name, AttributesMap attributes, DeserializationContext context) throws java.lang.ExceptionDescription copied from interface:DeserializationHandlerNotifies the handler that a sub-element has started.- Specified by:
startSubElementin interfaceDeserializationHandler- Overrides:
startSubElementin classObjectDeserializationHandler- Throws:
java.lang.Exception
-
endSubElement
public void endSubElement(java.lang.String name, DeserializationContext context) throws java.lang.ExceptionDescription copied from interface:DeserializationHandlerNotifies the handler that a sub-element has ended- Specified by:
endSubElementin interfaceDeserializationHandler- Overrides:
endSubElementin classObjectDeserializationHandler- Throws:
java.lang.Exception
-
getElementName
public java.lang.String getElementName()
Description copied from interface:DeserializationHandlerReturns the name of the element type that this handler ... handles.- Specified by:
getElementNamein interfaceDeserializationHandler- Overrides:
getElementNamein classObjectDeserializationHandler
-
-