Class LayoutConstraintsHandler
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.factorypmi.application.xmlserialization.LayoutConstraintsHandler
- All Implemented Interfaces:
DeserializationHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
Internal flag for serialization telling the decoder to use float representation for the preffered location.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 -
Method Summary
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 Details
-
PREF_FIELD
public static final int PREF_FIELD- See Also:
-
FLAGS_FIELD
public static final int FLAGS_FIELD- See Also:
-
FONTX_FIELD
public static final int FONTX_FIELD- See Also:
-
FONTY_FIELD
public static final int FONTY_FIELD- See Also:
-
PREF_FLOATING
public static final int PREF_FLOATINGInternal flag for serialization telling the decoder to use float representation for the preffered location.- See Also:
-
DECODER
-
-
Constructor Details
-
LayoutConstraintsHandler
public LayoutConstraintsHandler()
-
-
Method Details
-
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
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
-