Class AbstractBodyDecoderHandler
- java.lang.Object
- 
- com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractDeserializationHandler
- 
- com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractReentrantDeserializationHandler
- 
- com.inductiveautomation.ignition.common.xmlserialization.deserialization.handlers.AbstractBodyDecoderHandler
 
 
 
- 
- All Implemented Interfaces:
- DeserializationHandler
 - Direct Known Subclasses:
- BitSetHandler,- ByteArrayHandler,- ClassHandler,- ColorHandler,- ColorStateHandler,- CursorHandler,- DateHandler,- DimensionHandler,- Ellipse2DDoubleHandler,- Ellipse2DFloatHandler,- FontHandler,- GeneralPathHandler,- InsetsHandler,- LayoutConstraintsHandler,- MethodHandler,- NumberHandler,- Point2DDoubleHandler,- Point2DFloatHandler,- PointHandler,- PrimitiveArrayHandler,- QualityCodeHandler,- Rectangle2DDoubleHandler,- Rectangle2DFloatHandler,- RectangleHandler,- RoundRectangle2DDoubleHandler,- RoundRectangle2DFloatHandler,- StringHandler,- UUIDHandler
 
 public abstract class AbstractBodyDecoderHandler extends AbstractReentrantDeserializationHandler 
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringelementName- 
Fields inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractReentrantDeserializationHandlerobjectTL, refTL
 - 
Fields inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractDeserializationHandlerobject, refId
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedAbstractBodyDecoderHandler(java.lang.String elementName)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description DeserializationHandlerclone()Clones this handler.protected java.lang.ObjectcreateNoBodyObject()voidendElement(DeserializationContext context)Notifies the handler that their element has ended.java.lang.StringgetElementName()Returns the name of the element type that this handler ...voidonBody(java.lang.Object bodyObject)Called when body data is encountered in this tag or a sub-tag.voidstartElement(java.lang.String name, AttributesMap attributes, DeserializationContext context)Notifies the handler that their element has started.booleansupportsNestedElements()Return true if the element type that you're parsing can have nested elements, or false if you're a singleton element.- 
Methods inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractReentrantDeserializationHandlergetObject, getRefId, setObject, setRefId
 - 
Methods inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractDeserializationHandlerendObject, endSubElement, startSubElement
 - 
Methods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.inductiveautomation.ignition.common.xmlserialization.deserialization.DeserializationHandlergetBodyDecoder
 
- 
 
- 
- 
- 
Method Detail- 
startElementpublic void startElement(java.lang.String name, AttributesMap attributes, DeserializationContext context) throws java.lang.ExceptionDescription copied from interface:DeserializationHandlerNotifies the handler that their element has started.- Throws:
- java.lang.Exception
 
 - 
endElementpublic void endElement(DeserializationContext context) throws java.lang.Exception Description copied from interface:DeserializationHandlerNotifies the handler that their element has ended.- Throws:
- java.lang.Exception
 
 - 
onBodypublic void onBody(java.lang.Object bodyObject) Description copied from interface:DeserializationHandlerCalled when body data is encountered in this tag or a sub-tag. This data is first interpreted by the handler-provided decoder (seeDeserializationHandler.getBodyDecoder()), and then this function will be called.
 - 
createNoBodyObjectprotected java.lang.Object createNoBodyObject() 
 - 
getElementNamepublic java.lang.String getElementName() Description copied from interface:DeserializationHandlerReturns the name of the element type that this handler ... handles.
 - 
supportsNestedElementspublic boolean supportsNestedElements() Description copied from interface: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. 
 - 
clonepublic 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 interface- DeserializationHandler
- Specified by:
- clonein class- AbstractDeserializationHandler
 
 
- 
 
-