Class TemplateInfo
java.lang.Object
com.inductiveautomation.factorypmi.application.model.TopLevelContainerInfoBase
com.inductiveautomation.factorypmi.application.model.TemplateInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
Fields inherited from class com.inductiveautomation.factorypmi.application.model.TopLevelContainerInfoBase
PROJECT_RESOURCE_8_VERSION, PROJECT_RESOURCE_LEGACY_VERSION, THUMBNAIL_KEY, windowThumbnail, windowThumbnailBytes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
The encoding of these bytes conforms to one ofSerializationEncoding
and isn't always binary.void
setDropTargetProperty
(DynamicPropertyDescriptor dropTargetProperty) void
setSerializedBytes
(byte[] serializedBytes) Deprecated.void
setSerializedBytes
(byte[] data, SerializationEncoding encoding) Methods inherited from class com.inductiveautomation.factorypmi.application.model.TopLevelContainerInfoBase
getWindowThumbnail, getWindowThumbnailBytes, setWindowThumbnail, setWindowThumbnailBytes
-
Field Details
-
DROP_TARGET_KEY
- See Also:
-
DROP_TARGET_XML_KEY
- See Also:
-
TEMPLATE_BINARY_KEY
- See Also:
-
TEMPLATE_XML_KEY
- See Also:
-
-
Constructor Details
-
TemplateInfo
public TemplateInfo()
-
-
Method Details
-
setSerializedBytes
Deprecated.in favor ofsetSerializedBytes(byte[], SerializationEncoding)
where an encoding is supplied, but still used by 7.9 resourcesSets the code of this template to 'serializedBytes', which is aSerializationEncoding.AUTO
which will recreate this Template. -
setSerializedBytes
-
getSerializedBytes
public byte[] getSerializedBytes()The encoding of these bytes conforms to one ofSerializationEncoding
and isn't always binary. -
getSerializedEncoding
-
getDropTargetProperty
-
setDropTargetProperty
-
setSerializedBytes(byte[], SerializationEncoding)
where an encoding is supplied, but still used by 7.9 resources