XBinder C# Runtime Library
2.8
|
Helper class surrounding qualified names. More...
Public Member Functions | |
XBQualifiedName (string localName) | |
Constructs an instance of XBQualifiedName with the LocalName property set to the value of the localName argument. More... | |
XBQualifiedName (string URI, string localName) | |
Constructs an instance of XBQualfiedName with the URI property set to the value of the URI argument and the LocalName property set to the value of the localName argument. More... | |
XBQualifiedName (string URI, string localName, string prefix) | |
Constructs an instance of XBQualifiedName with the URI property set to the value of the URI argument, the LocalName property set to the value of the localName argument, and the Prefix property set to the value of the prefix argument. More... | |
bool | equals (XBQualifiedName qName) |
Returns true if current instance is equal to the specified instance. Only the URI and the local name are used for matching, not the prefix. More... | |
Static Public Member Functions | |
static bool | namesMatch (XBQualifiedName qName, System.String URI, System.String localName) |
Returns true if the QName matches the given namespaceURI and localName. More... | |
static int | searchArray (XBQualifiedName[] names, System.String namespaceURI, System.String localName) |
Return the index in given names array that matches the given namespaceURI and localName. Return -1 for no match. More... | |
static System.String | toString (System.String namespaceURI, System.String localName) |
Returns a string representation of the given name. The form returned is "{namespaceURI}localName" or just "localName" if namespaceURI is an empty string or null. More... | |
Properties | |
string | NamespaceURI [get, set] |
The URI associated with this qualified name's namespace. More... | |
string | LocalName [get, set] |
The local part of the qualified name. More... | |
string | Prefix [get, set] |
The prefix part of the qualified name. More... | |
Helper class surrounding qualified names.
<author> Kevin/Doug
</author>
com.objsys.xbinder.runtime.XBQualifiedName.XBQualifiedName | ( | string | localName | ) |
Constructs an instance of XBQualifiedName with the LocalName property set to the value of the localName argument.
localName | The intended value of the Name property |
com.objsys.xbinder.runtime.XBQualifiedName.XBQualifiedName | ( | string | URI, |
string | localName | ||
) |
Constructs an instance of XBQualfiedName with the URI property set to the value of the URI argument and the LocalName property set to the value of the localName argument.
URI | The intended value of the URI property |
localName | The intended value of the LocalName property |
com.objsys.xbinder.runtime.XBQualifiedName.XBQualifiedName | ( | string | URI, |
string | localName, | ||
string | prefix | ||
) |
Constructs an instance of XBQualifiedName with the URI property set to the value of the URI argument, the LocalName property set to the value of the localName argument, and the Prefix property set to the value of the prefix argument.
URI | The intended value of the URI property |
localName | The intended value of the LocalName property |
prefix | The intended value of the Prefix property |
bool com.objsys.xbinder.runtime.XBQualifiedName.equals | ( | XBQualifiedName | qName | ) |
Returns true if current instance is equal to the specified instance. Only the URI and the local name are used for matching, not the prefix.
qName | The XBQualifiedName instance to match against. |
|
static |
Returns true if the QName matches the given namespaceURI and localName.
name | |
namespaceURI | Use empty string or null for empty namespaces. |
localName |
|
static |
Return the index in given names array that matches the given namespaceURI and localName. Return -1 for no match.
names | |
namespaceURI | Use "" for empty no namespace, not null. |
localName |
|
static |
Returns a string representation of the given name. The form returned is "{namespaceURI}localName" or just "localName" if namespaceURI is an empty string or null.
|
getset |
The local part of the qualified name.
|
getset |
The URI associated with this qualified name's namespace.
|
getset |
The prefix part of the qualified name.