.NET Based OPC UA Client/Server SDK
3.2.1.522
|
A class used to parse and manipulate XML type dictionaries. More...
Public Member Functions | |
XmlSchemaBuilder () | |
Initializes a new instance of the XmlSchemaBuilder class. More... | |
XmlSchemaBuilder (string namespaceUri) | |
Initializes a new instance of the XmlSchemaBuilder class. More... | |
XmlSchemaBuilder (byte[] dictionary) | |
Initializes a new instance of the XmlSchemaBuilder class. More... | |
XmlSchemaBuilder (XmlSchema dictionary) | |
Initializes a new instance of the XmlSchemaBuilder class. More... | |
XmlSchema | GetDictionary () |
Builds an XML schema with the contents of the dictionary. More... | |
HashSet< XmlQualifiedName > | SetDictionary (XmlSchema dictionary) |
Updates the the object with the contents of the dictionary. More... | |
HashSet< XmlQualifiedName > | AddDictionary (XmlSchema dictionary) |
Updates the the object with the contents of the dictionary. More... | |
GenericDataType | NewTypeFromDictionary (XmlQualifiedName typeName) |
Creates a new generic type from the current dictionary. More... | |
bool | TypeExists (XmlQualifiedName name) |
Checks if the type is in the current dictionary. More... | |
void | AddEnumeration (GenericEnumeratedDataType definition) |
Adds an enumerated data type to the dictionary. More... | |
void | AddStructure (GenericStructureDataType definition) |
Adds a structured data type to the dictionary. More... | |
Properties | |
NodeId | DictionaryId [get, set] |
Gets or sets the NodeId for the dictionary variable. More... | |
string | NamespaceUri [get] |
Gets namespace URI for the dictionary. More... | |
A class used to parse and manipulate XML type dictionaries.
UnifiedAutomation.UaBase.XmlSchemaBuilder.XmlSchemaBuilder | ( | ) |
Initializes a new instance of the XmlSchemaBuilder class.
UnifiedAutomation.UaBase.XmlSchemaBuilder.XmlSchemaBuilder | ( | string | namespaceUri | ) |
Initializes a new instance of the XmlSchemaBuilder class.
namespaceUri | The namespace URI. |
UnifiedAutomation.UaBase.XmlSchemaBuilder.XmlSchemaBuilder | ( | byte[] | dictionary | ) |
Initializes a new instance of the XmlSchemaBuilder class.
dictionary | The dictionary serialized as an UTF-8 encoded XML document. |
UnifiedAutomation.UaBase.XmlSchemaBuilder.XmlSchemaBuilder | ( | XmlSchema | dictionary | ) |
Initializes a new instance of the XmlSchemaBuilder class.
dictionary | The dictionary. |
HashSet<XmlQualifiedName> UnifiedAutomation.UaBase.XmlSchemaBuilder.AddDictionary | ( | XmlSchema | dictionary | ) |
Updates the the object with the contents of the dictionary.
dictionary | The dictionary. |
void UnifiedAutomation.UaBase.XmlSchemaBuilder.AddEnumeration | ( | GenericEnumeratedDataType | definition | ) |
Adds an enumerated data type to the dictionary.
definition | The enumerated type. |
void UnifiedAutomation.UaBase.XmlSchemaBuilder.AddStructure | ( | GenericStructureDataType | definition | ) |
Adds a structured data type to the dictionary.
definition | The structured type. |
XmlSchema UnifiedAutomation.UaBase.XmlSchemaBuilder.GetDictionary | ( | ) |
Builds an XML schema with the contents of the dictionary.
GenericDataType UnifiedAutomation.UaBase.XmlSchemaBuilder.NewTypeFromDictionary | ( | XmlQualifiedName | typeName | ) |
Creates a new generic type from the current dictionary.
typeName | Name of the type. |
HashSet<XmlQualifiedName> UnifiedAutomation.UaBase.XmlSchemaBuilder.SetDictionary | ( | XmlSchema | dictionary | ) |
Updates the the object with the contents of the dictionary.
dictionary | The dictionary. |
bool UnifiedAutomation.UaBase.XmlSchemaBuilder.TypeExists | ( | XmlQualifiedName | name | ) |
Checks if the type is in the current dictionary.
name | The name of the type. |
|
getset |
|
get |
Gets namespace URI for the dictionary.
The namespace URI.