XBinder C# Runtime Library  2.8
Public Member Functions | Properties | List of all members
com.objsys.xbinder.runtime.XBXmlNamespace Class Reference

This class models the mapping of an XML namespace prefix to a URI. More...

Public Member Functions

 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...
 

Properties

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...
 

Detailed Description

This class models the mapping of an XML namespace prefix to a URI.

XBXmlNamespace objects are immutable.

Constructor & Destructor Documentation

◆ 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
prefixXML namespace prefix. If null is passed, then "" is used.
uriXML namespace URI. If null is passed, then "" is used.

Member Function Documentation

◆ 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.

Property Documentation

◆ 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.