This class models the mapping of an XML namespace prefix to a URI.
More...
|
| XBXmlNamespace (System.String prefix, System.String uri) |
| The constructor creates a mapping between a namespace URI and a prefix. More...
|
|
virtual bool | isPrefixEqual (System.String prefix) |
| This method is used to test the given prefix for a match. More...
|
|
virtual bool | isURIEqual (System.String uri) |
| This method is used to test the given URI for a match. More...
|
|
|
virtual System.String | Prefix [get] |
| This method is used to get the prefix value. More...
|
|
virtual System.String | URI [get] |
| This method is used to get the URI value. More...
|
|
This class models the mapping of an XML namespace prefix to a URI.
XBXmlNamespace objects are immutable.
◆ XBXmlNamespace()
com.objsys.xbinder.runtime.XBXmlNamespace.XBXmlNamespace |
( |
System.String |
prefix, |
|
|
System.String |
uri |
|
) |
| |
The constructor creates a mapping between a namespace URI and a prefix.
- Parameters
-
prefix | XML namespace prefix. If null is passed, then "" is used. |
uri | XML namespace URI. If null is passed, then "" is used. |
◆ isPrefixEqual()
virtual bool com.objsys.xbinder.runtime.XBXmlNamespace.isPrefixEqual |
( |
System.String |
prefix | ) |
|
|
virtual |
This method is used to test the given prefix for a match.
◆ isURIEqual()
virtual bool com.objsys.xbinder.runtime.XBXmlNamespace.isURIEqual |
( |
System.String |
uri | ) |
|
|
virtual |
This method is used to test the given URI for a match.
◆ Prefix
virtual System.String com.objsys.xbinder.runtime.XBXmlNamespace.Prefix |
|
get |
This method is used to get the prefix value.
◆ URI
virtual System.String com.objsys.xbinder.runtime.XBXmlNamespace.URI |
|
get |
This method is used to get the URI value.