public interface DataTypeManager
| Modifier and Type | Method and Description |
|---|---|
@Nullable DataTypeCodec |
getCodec(NodeId encodingId)
Get a registered
DataTypeCodec by its encoding id. |
@Nullable DataTypeCodec |
getCodec(QualifiedName encodingName,
NodeId dataTypeId)
Get a registered
DataTypeCodec by its encoding name and datatype id. |
@Nullable DataTypeCodec |
getCodec(String namespaceUri,
String description)
Get a registered
DataTypeCodec by its datatype dictionary namespace URI and description. |
@Nullable DataTypeDictionary<?> |
getDataTypeDictionary(String namespaceUri)
Get a registered
DataTypeDictionary by its namespace URI. |
void |
registerCodec(NodeId encodingId,
DataTypeCodec codec)
Register a
DataTypeCodec by its encoding id. |
void |
registerCodec(QualifiedName encodingName,
NodeId dataTypeId,
DataTypeCodec codec)
Register a
DataTypeCodec by its encoding name and datatype id. |
void |
registerTypeDictionary(DataTypeDictionary<?> dataTypeDictionary)
Register a
DataTypeDictionary and all the DataTypeCodecs it contains. |
@Nullable @Nullable DataTypeCodec getCodec(NodeId encodingId)
DataTypeCodec by its encoding id.encodingId - the encoding id.DataTypeCodec registered for encodingId.@Nullable @Nullable DataTypeCodec getCodec(QualifiedName encodingName, NodeId dataTypeId)
DataTypeCodec by its encoding name and datatype id.encodingName - the QualifiedName of the datatype encoding.dataTypeId - the datatype id.DataTypeCodec registered for encodingName and dataTypeId.@Nullable @Nullable DataTypeCodec getCodec(String namespaceUri, String description)
DataTypeCodec by its datatype dictionary namespace URI and description.namespaceUri - the namespace URI of the datatype dictionary the codec is from.description - the datatype description in the dictionary.DataTypeCodec registered for namespaceUri and description.@Nullable @Nullable DataTypeDictionary<?> getDataTypeDictionary(String namespaceUri)
DataTypeDictionary by its namespace URI.namespaceUri - the namespace URI the dictionary is registered under.DataTypeDictionary registered under namespaceUri.void registerCodec(NodeId encodingId, DataTypeCodec codec)
DataTypeCodec by its encoding id.encodingId - the encoding id.codec - the DataTypeCodec to register.void registerCodec(QualifiedName encodingName, NodeId dataTypeId, DataTypeCodec codec)
DataTypeCodec by its encoding name and datatype id.encodingName - the QualifiedName of the datatype encoding.dataTypeId - the datatype id.codec - the DataTypeCodec to register.void registerTypeDictionary(DataTypeDictionary<?> dataTypeDictionary)
DataTypeDictionary and all the DataTypeCodecs it contains.dataTypeDictionary - the DataTypeDictionary to register.Copyright © 2025. All rights reserved.