Interface UaEncoder
- All Known Implementing Classes:
OpcUaBinaryEncoder
public interface UaEncoder
-
Method Summary
Modifier and TypeMethodDescriptionvoidencodeBoolean(String field, Boolean value) voidencodeBooleanArray(String field, Boolean[] value) voidencodeByte(String field, UByte value) voidencodeByteArray(String field, UByte[] value) voidencodeByteString(String field, ByteString value) voidencodeByteStringArray(String field, ByteString[] value) voidencodeDataValue(String field, DataValue value) voidencodeDataValueArray(String field, DataValue[] value) voidencodeDateTime(String field, DateTime value) voidencodeDateTimeArray(String field, DateTime[] value) voidencodeDiagnosticInfo(String field, DiagnosticInfo value) voidencodeDiagnosticInfoArray(String field, DiagnosticInfo[] value) voidencodeDouble(String field, Double value) voidencodeDoubleArray(String field, Double[] value) voidencodeEnum(String field, UaEnumeratedType value) voidencodeEnumArray(String field, UaEnumeratedType[] value) voidencodeEnumMatrix(String field, Matrix value) voidencodeExpandedNodeId(String field, ExpandedNodeId value) voidencodeExpandedNodeIdArray(String field, ExpandedNodeId[] value) voidencodeExtensionObject(String field, ExtensionObject value) voidencodeExtensionObjectArray(String field, ExtensionObject[] value) voidencodeFloat(String field, Float value) voidencodeFloatArray(String field, Float[] value) voidencodeGuid(String field, UUID value) voidencodeGuidArray(String field, UUID[] value) voidencodeInt16(String field, Short value) voidencodeInt16Array(String field, Short[] value) voidencodeInt32(String field, Integer value) voidencodeInt32Array(String field, Integer[] value) voidencodeInt64(String field, Long value) voidencodeInt64Array(String field, Long[] value) voidencodeLocalizedText(String field, LocalizedText value) voidencodeLocalizedTextArray(String field, LocalizedText[] value) voidencodeMatrix(String field, Matrix value) voidencodeMessage(String field, UaMessageType message) voidencodeNodeId(String field, NodeId value) voidencodeNodeIdArray(String field, NodeId[] value) voidencodeQualifiedName(String field, QualifiedName value) voidencodeQualifiedNameArray(String field, QualifiedName[] value) voidencodeSByte(String field, Byte value) voidencodeSByteArray(String field, Byte[] value) voidencodeStatusCode(String field, StatusCode value) voidencodeStatusCodeArray(String field, StatusCode[] value) voidencodeString(String field, String value) voidencodeStringArray(String field, String[] value) voidencodeStruct(String field, UaStructuredType value, DataTypeCodec codec) voidencodeStruct(String field, UaStructuredType value, ExpandedNodeId dataTypeId) voidencodeStruct(String field, UaStructuredType value, NodeId dataTypeId) voidencodeStructArray(String field, UaStructuredType[] value, ExpandedNodeId dataTypeId) voidencodeStructArray(String field, UaStructuredType[] value, NodeId dataTypeId) voidencodeStructMatrix(String field, Matrix value, ExpandedNodeId dataTypeId) voidencodeStructMatrix(String field, Matrix value, NodeId dataTypeId) voidencodeUInt16(String field, UShort value) voidencodeUInt16Array(String field, UShort[] value) voidencodeUInt32(String field, UInteger value) voidencodeUInt32Array(String field, UInteger[] value) voidencodeUInt64(String field, ULong value) voidencodeUInt64Array(String field, ULong[] value) voidencodeVariant(String field, Variant value) voidencodeVariantArray(String field, Variant[] value) voidencodeXmlElement(String field, XmlElement value) voidencodeXmlElementArray(String field, XmlElement[] value)
-
Method Details
-
getEncodingContext
EncodingContext getEncodingContext() -
encodeBoolean
- Throws:
UaSerializationException
-
encodeSByte
- Throws:
UaSerializationException
-
encodeInt16
- Throws:
UaSerializationException
-
encodeInt32
- Throws:
UaSerializationException
-
encodeInt64
- Throws:
UaSerializationException
-
encodeByte
- Throws:
UaSerializationException
-
encodeUInt16
- Throws:
UaSerializationException
-
encodeUInt32
- Throws:
UaSerializationException
-
encodeUInt64
- Throws:
UaSerializationException
-
encodeFloat
- Throws:
UaSerializationException
-
encodeDouble
- Throws:
UaSerializationException
-
encodeString
- Throws:
UaSerializationException
-
encodeDateTime
- Throws:
UaSerializationException
-
encodeGuid
- Throws:
UaSerializationException
-
encodeByteString
- Throws:
UaSerializationException
-
encodeXmlElement
- Throws:
UaSerializationException
-
encodeNodeId
- Throws:
UaSerializationException
-
encodeExpandedNodeId
- Throws:
UaSerializationException
-
encodeStatusCode
- Throws:
UaSerializationException
-
encodeQualifiedName
- Throws:
UaSerializationException
-
encodeLocalizedText
- Throws:
UaSerializationException
-
encodeExtensionObject
- Throws:
UaSerializationException
-
encodeDataValue
- Throws:
UaSerializationException
-
encodeVariant
- Throws:
UaSerializationException
-
encodeDiagnosticInfo
- Throws:
UaSerializationException
-
encodeMessage
- Throws:
UaSerializationException
-
encodeEnum
- Throws:
UaSerializationException
-
encodeStruct
void encodeStruct(String field, UaStructuredType value, ExpandedNodeId dataTypeId) throws UaSerializationException - Throws:
UaSerializationException
-
encodeStruct
void encodeStruct(String field, UaStructuredType value, NodeId dataTypeId) throws UaSerializationException - Throws:
UaSerializationException
-
encodeStruct
void encodeStruct(String field, UaStructuredType value, DataTypeCodec codec) throws UaSerializationException - Throws:
UaSerializationException
-
encodeBooleanArray
- Throws:
UaSerializationException
-
encodeSByteArray
- Throws:
UaSerializationException
-
encodeInt16Array
- Throws:
UaSerializationException
-
encodeInt32Array
- Throws:
UaSerializationException
-
encodeInt64Array
- Throws:
UaSerializationException
-
encodeByteArray
- Throws:
UaSerializationException
-
encodeUInt16Array
- Throws:
UaSerializationException
-
encodeUInt32Array
- Throws:
UaSerializationException
-
encodeUInt64Array
- Throws:
UaSerializationException
-
encodeFloatArray
- Throws:
UaSerializationException
-
encodeDoubleArray
- Throws:
UaSerializationException
-
encodeStringArray
- Throws:
UaSerializationException
-
encodeDateTimeArray
- Throws:
UaSerializationException
-
encodeGuidArray
- Throws:
UaSerializationException
-
encodeByteStringArray
- Throws:
UaSerializationException
-
encodeXmlElementArray
- Throws:
UaSerializationException
-
encodeNodeIdArray
- Throws:
UaSerializationException
-
encodeExpandedNodeIdArray
void encodeExpandedNodeIdArray(String field, ExpandedNodeId[] value) throws UaSerializationException - Throws:
UaSerializationException
-
encodeStatusCodeArray
- Throws:
UaSerializationException
-
encodeQualifiedNameArray
- Throws:
UaSerializationException
-
encodeLocalizedTextArray
- Throws:
UaSerializationException
-
encodeExtensionObjectArray
void encodeExtensionObjectArray(String field, ExtensionObject[] value) throws UaSerializationException - Throws:
UaSerializationException
-
encodeDataValueArray
- Throws:
UaSerializationException
-
encodeVariantArray
- Throws:
UaSerializationException
-
encodeDiagnosticInfoArray
void encodeDiagnosticInfoArray(String field, DiagnosticInfo[] value) throws UaSerializationException - Throws:
UaSerializationException
-
encodeEnumArray
- Throws:
UaSerializationException
-
encodeStructArray
void encodeStructArray(String field, UaStructuredType[] value, NodeId dataTypeId) throws UaSerializationException - Throws:
UaSerializationException
-
encodeStructArray
void encodeStructArray(String field, UaStructuredType[] value, ExpandedNodeId dataTypeId) throws UaSerializationException - Throws:
UaSerializationException
-
encodeMatrix
- Throws:
UaSerializationException
-
encodeEnumMatrix
- Throws:
UaSerializationException
-
encodeStructMatrix
void encodeStructMatrix(String field, Matrix value, NodeId dataTypeId) throws UaSerializationException - Throws:
UaSerializationException
-
encodeStructMatrix
void encodeStructMatrix(String field, Matrix value, ExpandedNodeId dataTypeId) throws UaSerializationException - Throws:
UaSerializationException
-