public class OpcUaXmlDataTypeDictionary extends Object implements DataTypeDictionary<OpcUaXmlDataTypeCodec<?>>
| Constructor and Description |
|---|
OpcUaXmlDataTypeDictionary(String namespaceUri) |
OpcUaXmlDataTypeDictionary(String namespaceUri,
Map<String,OpcUaXmlDataTypeCodec<?>> byDescription,
Map<NodeId,OpcUaXmlDataTypeCodec<?>> byEncodingId,
Map<NodeId,OpcUaXmlDataTypeCodec<?>> byDataTypeId) |
| Modifier and Type | Method and Description |
|---|---|
OpcUaXmlDataTypeCodec<?> |
getCodec(NodeId dataTypeId)
Get a
DataTypeCodec registered with this dictionary. |
OpcUaXmlDataTypeCodec<?> |
getCodec(String description)
Get a
DataTypeCodec registered with this dictionary. |
Map<NodeId,OpcUaXmlDataTypeCodec<?>> |
getCodecsByDataTypeId() |
Map<String,OpcUaXmlDataTypeCodec<?>> |
getCodecsByDescription() |
Map<NodeId,OpcUaXmlDataTypeCodec<?>> |
getCodecsByEncodingId() |
QualifiedName |
getEncodingName() |
String |
getNamespaceUri() |
void |
registerEnumCodec(OpcUaXmlDataTypeCodec<?> codec,
String description)
Register a
DataTypeCodec that serializes an enumeration with this dictionary. |
void |
registerEnumCodec(OpcUaXmlDataTypeCodec<?> codec,
String description,
NodeId dataTypeId)
Register a
DataTypeCodec that serializes an enumeration with this dictionary. |
void |
registerStructCodec(OpcUaXmlDataTypeCodec<?> codec,
String description,
NodeId dataTypeId,
NodeId encodingId)
Register a
DataTypeCodec that serializes a structure with this dictionary. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCodecByDataTypeId, getCodecByDescription, getCodecByEncodingIdpublic OpcUaXmlDataTypeDictionary(String namespaceUri)
public OpcUaXmlDataTypeDictionary(String namespaceUri, Map<String,OpcUaXmlDataTypeCodec<?>> byDescription, Map<NodeId,OpcUaXmlDataTypeCodec<?>> byEncodingId, Map<NodeId,OpcUaXmlDataTypeCodec<?>> byDataTypeId)
public String getNamespaceUri()
getNamespaceUri in interface DataTypeDictionary<OpcUaXmlDataTypeCodec<?>>DataTypeDictionary belongs to.public QualifiedName getEncodingName()
getEncodingName in interface DataTypeDictionary<OpcUaXmlDataTypeCodec<?>>public OpcUaXmlDataTypeCodec<?> getCodec(String description)
DataTypeDictionaryDataTypeCodec registered with this dictionary.getCodec in interface DataTypeDictionary<OpcUaXmlDataTypeCodec<?>>description - the value of the DataTypeDescription that identifies the codec in the dictionary.DataTypeCodec for description, or null if none is found.public OpcUaXmlDataTypeCodec<?> getCodec(NodeId dataTypeId)
DataTypeDictionaryDataTypeCodec registered with this dictionary.getCodec in interface DataTypeDictionary<OpcUaXmlDataTypeCodec<?>>dataTypeId - the NodeId of the DataType Node for the DataType serialized by the codec.DataTypeCodec for dataTypeId, or null if none is found.public void registerEnumCodec(OpcUaXmlDataTypeCodec<?> codec, String description)
DataTypeDictionaryDataTypeCodec that serializes an enumeration with this dictionary.registerEnumCodec in interface DataTypeDictionary<OpcUaXmlDataTypeCodec<?>>codec - the codec to register.description - the value of the DataTypeDescription Node that identifies codec in the dictionary.public void registerEnumCodec(OpcUaXmlDataTypeCodec<?> codec, String description, NodeId dataTypeId)
DataTypeDictionaryDataTypeCodec that serializes an enumeration with this dictionary.registerEnumCodec in interface DataTypeDictionary<OpcUaXmlDataTypeCodec<?>>codec - the codec to register.description - the value of the DataTypeDescription Node that identifies codec in the dictionary.dataTypeId - the NodeId of the DataType Node for the DataType serialized by codec.public void registerStructCodec(OpcUaXmlDataTypeCodec<?> codec, String description, NodeId dataTypeId, NodeId encodingId)
DataTypeDictionaryDataTypeCodec that serializes a structure with this dictionary.registerStructCodec in interface DataTypeDictionary<OpcUaXmlDataTypeCodec<?>>codec - the codec to register.description - the value of the DataTypeDescription Node that identifies codec in the dictionary.dataTypeId - the NodeId of the DataType Node for the DataType serialized by codec.encodingId - the NodeId of the appropriate DataTypeEncoding Node for the DataType serialized
by codec.public Map<String,OpcUaXmlDataTypeCodec<?>> getCodecsByDescription()
getCodecsByDescription in interface DataTypeDictionary<OpcUaXmlDataTypeCodec<?>>public Map<NodeId,OpcUaXmlDataTypeCodec<?>> getCodecsByEncodingId()
getCodecsByEncodingId in interface DataTypeDictionary<OpcUaXmlDataTypeCodec<?>>public Map<NodeId,OpcUaXmlDataTypeCodec<?>> getCodecsByDataTypeId()
getCodecsByDataTypeId in interface DataTypeDictionary<OpcUaXmlDataTypeCodec<?>>Copyright © 2025. All rights reserved.