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 DeserializationHandler
clone()
Clones this handler.void
endObject(java.lang.Object obj)
Notifies the handler that an object tag was found and deserialized within their scopevoid
endSubElement(java.lang.String name, DeserializationContext context)
Notifies the handler that a sub-element has endedjava.lang.String
getElementName()
Returns the name of the element type that this handler ...void
startSubElement(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: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
public void endObject(java.lang.Object obj)
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(java.lang.String name, AttributesMap attributes, DeserializationContext context) throws java.lang.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:
java.lang.Exception
-
endSubElement
public void endSubElement(java.lang.String name, DeserializationContext context) throws java.lang.Exception
Description copied from interface:DeserializationHandler
Notifies the handler that a sub-element has ended- Specified by:
endSubElement
in interfaceDeserializationHandler
- Overrides:
endSubElement
in classObjectDeserializationHandler
- Throws:
java.lang.Exception
-
getElementName
public java.lang.String 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
-
-