Class TerminatedUnicodeDataType

All Implemented Interfaces:
BuiltInDataType, DataType, DataTypeWithCharset, Dynamic, ExtensionPoint

public class TerminatedUnicodeDataType extends AbstractStringDataType
A null-terminated string DataType with a UTF-16 charset.

NOTE: TerminatedUnicodeDataType class was renamed to TerminatedUnicodeStringDataType to address problem where this factory data-type may have previously been added to composites.

  • Field Details

  • Constructor Details

    • TerminatedUnicodeDataType

      public TerminatedUnicodeDataType()
    • TerminatedUnicodeDataType

      public TerminatedUnicodeDataType(DataTypeManager dtm)
  • Method Details

    • clone

      public DataType clone(DataTypeManager dtm)
      Description copied from interface: DataType
      Returns an instance of this DataType using the specified DataTypeManager to allow its use of the corresponding DataOrganization while retaining its unique identity (see DataType.getUniversalID() and archive association (see DataType.getSourceArchive()) if applicable.

      This instance will be returned if this datatype's DataTypeManager matches the specified dtm. The recursion depth of a clone will stop on any datatype whose DataTypeManager matches the specified dtm and simply use the existing datatype instance.

      NOTE: In general, this method should not be used to obtain an instance to be modified. In most cases changes may be made directly to this instance if supported or to a DataType.copy(DataTypeManager) of this type.

      Parameters:
      dtm - the data-type manager instance whose data-organization should apply.
      Returns:
      cloned instance which may be the same as this instance