Class Ellipse2DDoubleHandler
- 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
-
- com.inductiveautomation.ignition.common.xmlserialization.deserialization.handlers.Ellipse2DDoubleHandler
-
- All Implemented Interfaces:
DeserializationHandler
public class Ellipse2DDoubleHandler extends AbstractBodyDecoderHandler
-
-
Field Summary
Fields Modifier and Type Field Description static Decoder<java.awt.geom.Ellipse2D.Double>
DECODER
-
Fields inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.handlers.AbstractBodyDecoderHandler
elementName
-
Fields inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractReentrantDeserializationHandler
objectTL, refTL
-
Fields inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractDeserializationHandler
object, refId
-
-
Constructor Summary
Constructors Constructor Description Ellipse2DDoubleHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeserializationHandler
clone()
Clones this handler.Decoder<?>
getBodyDecoder()
Called when body data is encountered in this tag or a sub-tag.boolean
supportsNestedElements()
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.handlers.AbstractBodyDecoderHandler
createNoBodyObject, endElement, getElementName, onBody, startElement
-
Methods inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractReentrantDeserializationHandler
getObject, getRefId, setObject, setRefId
-
Methods inherited from class com.inductiveautomation.ignition.common.xmlserialization.deserialization.AbstractDeserializationHandler
endObject, endSubElement, startSubElement
-
-
-
-
Field Detail
-
DECODER
public static Decoder<java.awt.geom.Ellipse2D.Double> DECODER
-
-
Method Detail
-
getBodyDecoder
public Decoder<?> getBodyDecoder()
Description copied from interface:DeserializationHandler
Called when body data is encountered in this tag or a sub-tag. Used to decode the body into an object, which is then passed toDeserializationHandler.onBody(Object)
-
supportsNestedElements
public boolean supportsNestedElements()
Description copied from interface:DeserializationHandler
Return 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.
- Specified by:
supportsNestedElements
in interfaceDeserializationHandler
- Overrides:
supportsNestedElements
in classAbstractBodyDecoderHandler
-
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 classAbstractBodyDecoderHandler
-
-