.NET Based OPC UA Client/Server SDK  2.6.1.422
UnifiedAutomation.UaBase.XmlSchemaBuilder Class Reference

A class used to parse and manipulate XML type dictionaries. More...

Public Member Functions

 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...
 
void SetDictionary (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...
 

Detailed Description

A class used to parse and manipulate XML type dictionaries.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.XmlSchemaBuilder.XmlSchemaBuilder ( string  namespaceUri)
inline

Initializes a new instance of the XmlSchemaBuilder class.

Parameters
namespaceUriThe namespace URI.
UnifiedAutomation.UaBase.XmlSchemaBuilder.XmlSchemaBuilder ( byte[]  dictionary)
inline

Initializes a new instance of the XmlSchemaBuilder class.

Parameters
dictionaryThe dictionary serialized as an UTF-8 encoded XML document.
UnifiedAutomation.UaBase.XmlSchemaBuilder.XmlSchemaBuilder ( XmlSchema  dictionary)
inline

Initializes a new instance of the XmlSchemaBuilder class.

Parameters
dictionaryThe dictionary.

Member Function Documentation

void UnifiedAutomation.UaBase.XmlSchemaBuilder.AddEnumeration ( GenericEnumeratedDataType  definition)
inline

Adds an enumerated data type to the dictionary.

Parameters
definitionThe enumerated type.
void UnifiedAutomation.UaBase.XmlSchemaBuilder.AddStructure ( GenericStructureDataType  definition)
inline

Adds a structured data type to the dictionary.

Parameters
definitionThe structured type.
XmlSchema UnifiedAutomation.UaBase.XmlSchemaBuilder.GetDictionary ( )
inline

Builds an XML schema with the contents of the dictionary.

Returns
The dictionary.
GenericDataType UnifiedAutomation.UaBase.XmlSchemaBuilder.NewTypeFromDictionary ( XmlQualifiedName  typeName)
inline

Creates a new generic type from the current dictionary.

Parameters
typeNameName of the type.
Returns
The new generic type.
void UnifiedAutomation.UaBase.XmlSchemaBuilder.SetDictionary ( XmlSchema  dictionary)
inline

Updates the the object with the contents of the dictionary.

Parameters
dictionaryThe dictionary.
bool UnifiedAutomation.UaBase.XmlSchemaBuilder.TypeExists ( XmlQualifiedName  name)
inline

Checks if the type is in the current dictionary.

Parameters
nameThe name of the type.
Returns
TRUE if it exist; FALSE otherwise.

Property Documentation

NodeId UnifiedAutomation.UaBase.XmlSchemaBuilder.DictionaryId
getset

Gets or sets the NodeId for the dictionary variable.

The NodeId for the dictionary variable.

string UnifiedAutomation.UaBase.XmlSchemaBuilder.NamespaceUri
get

Gets namespace URI for the dictionary.

The namespace URI.


The documentation for this class was generated from the following file: