|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.prosysopc.ua.typedictionary.TypeDictionary
public class TypeDictionary
| Constructor Summary | |
|---|---|
TypeDictionary(UaClient client)
|
|
| Method Summary | |
|---|---|
org.opcfoundation.ua.builtintypes.ExtensionObject |
binaryEncode(DynamicStructure structure)
Encode a Structure that has been decoded previously with decode(ExtensionObject). |
void |
clearCaches()
Clears all caches. |
DynamicStructure |
decode(org.opcfoundation.ua.builtintypes.ExtensionObject extensionObject)
Try to decode a Structure, whose serializer is unknown. |
void |
setTreatOpcStringAsOpcCharArray(boolean treatOpcStringAsOpcCharArray)
This setting handles a workaround for servers erroneously describing DataType Strings in the dictionaries as opc:String instead of opc:CharArray and still encoding the data as opc:CharArray. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TypeDictionary(UaClient client)
| Method Detail |
|---|
public org.opcfoundation.ua.builtintypes.ExtensionObject binaryEncode(DynamicStructure structure)
throws org.opcfoundation.ua.encoding.EncodingException
decode(ExtensionObject).
structure - a structure
org.opcfoundation.ua.encoding.EncodingException - if encoding cannot be donepublic void clearCaches()
public DynamicStructure decode(org.opcfoundation.ua.builtintypes.ExtensionObject extensionObject)
throws org.opcfoundation.ua.encoding.DecodingException
clearCaches().
extensionObject - the encoded Structure
org.opcfoundation.ua.encoding.DecodingException - if decoding cannot be done
UaException - if typedictionary cannot be read from the serverpublic void setTreatOpcStringAsOpcCharArray(boolean treatOpcStringAsOpcCharArray)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||