Class ExtensionObject.Binary
java.lang.Object
org.eclipse.milo.opcua.stack.core.types.builtin.ExtensionObject
org.eclipse.milo.opcua.stack.core.types.builtin.ExtensionObject.Binary
- Enclosing class:
- ExtensionObject
An ExtensionObject that contains a
ByteString body, used with Binary encoding.-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.milo.opcua.stack.core.types.builtin.ExtensionObject
ExtensionObject.Binary, ExtensionObject.Json, ExtensionObject.Xml -
Method Summary
Methods inherited from class org.eclipse.milo.opcua.stack.core.types.builtin.ExtensionObject
decode, decode, encode, encode, encodeArray, of, of, of, transcode
-
Method Details
-
getBody
Description copied from class:ExtensionObjectGet the body of this ExtensionObject.The body is the encoded value of the ExtensionObject. The type of the body depends on the encoding that was used to encode the ExtensionObject. The body is one of:
ByteStringfor Binary encodingXmlElementfor XML encodingStringfor JSON encoding
- Specified by:
getBodyin classExtensionObject- Returns:
- the body of this ExtensionObject.
-
getEncodingOrTypeId
Description copied from class:ExtensionObjectGet theNodeIdof the datatype encoding or datatype of the encoded value contained by this ExtensionObject.The NodeId returned is the encoding id if the encoding is Binary or XML, or the datatype id if the encoding is JSON.
- Specified by:
getEncodingOrTypeIdin classExtensionObject- Returns:
- the
NodeIdof the datatype encoding or datatype.
-
isNull
public boolean isNull()Description copied from class:ExtensionObjectCheck if this ExtensionObject is null.- Specified by:
isNullin classExtensionObject- Returns:
- true if this ExtensionObject is null, false otherwise.
-
equals
-
hashCode
public int hashCode() -
toString
-