Represents a mapping between namespaces and prefixes. A prefix may map only to a single namespace. A namespace may be bound to multiple prefixes.
More...
|
virtual System.String | addNamespace (System.String namespaceURI, System.String prefix) |
| Add (or replace) a namespace mapping. If prefix was previously mapped, the previous value is returned. Otherwise, an indicator of an empty namespace URI is returned. More...
|
|
virtual string | addUniquePrefix (string namespaceURI) |
| Map a unique prefix for the given namespace. More...
|
|
virtual string | getDefaultNamespaceURI () |
| Returns the namespace that the default namespace prefix is mapped to. More...
|
|
virtual string | getExistingPrefix (string namespaceURI) |
| Returns a non-empty prefix (not the default namespace prefix) for the given namespace URI. If one or more such prefixes are mapped to the URI, one of them will be returned. Otherwise, null is returned. More...
|
|
virtual System.String | getNamespaceURI (System.String prefix) |
| Return the namespace URI that the given prefix is mapped to. Returns an indicator of an empty namespace URI if it is not mapped to any URI. More...
|
|
virtual string | getPrefix (string namespaceURI) |
| Return a prefix for the given namespace URI. If one or more prefixes other than the default namespace prefix is mapped to the URI, one of these will be returned. Otherwise, a generated prefix will be automatically mapped to the URI and returned. More...
|
|
virtual bool | isDefaultNamespaceURI (string namespaceURI) |
| Returns true if the given namespace is the default namespace (i.e., the default namespace prefix is mapped to the specified namespace URI). More...
|
|
virtual ICollection< string > | prefixes () |
| Returns an ICollection of all mapped prefixes More...
|
|
Represents a mapping between namespaces and prefixes. A prefix may map only to a single namespace. A namespace may be bound to multiple prefixes.
The default namespace is mapped by prefix DefaultNamespacePrefix. By default, the default namespace is NullNameSpaceURI.
<author> Kevin/Doug
</author>