|
Public Member Functions |
| XMLUri (const XMLCh *const uriSpec, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
| Construct a new URI from a URI specification string.
|
| XMLUri (const XMLUri *const baseURI, const XMLCh *const uriSpec, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
| Construct a new URI from a base URI and a URI specification string.
|
| XMLUri (const XMLUri &toCopy) |
| Copy constructor.
|
XMLUri & | operator= (const XMLUri &toAssign) |
virtual | ~XMLUri () |
const XMLCh * | getUriText () const |
| Get the URI as a string specification.
|
const XMLCh * | getScheme () const |
| Get the scheme for this URI.
|
const XMLCh * | getUserInfo () const |
| Get the userinfo for this URI.
|
const XMLCh * | getHost () const |
| Get the host for this URI.
|
int | getPort () const |
| Get the port for this URI.
|
const XMLCh * | getRegBasedAuthority () const |
| Get the registry based authority for this URI.
|
const XMLCh * | getPath () const |
| Get the path for this URI.
|
const XMLCh * | getQueryString () const |
| Get the query string for this URI.
|
const XMLCh * | getFragment () const |
| Get the fragment for this URI.
|
void | setScheme (const XMLCh *const newScheme) |
| Set the scheme for this URI.
|
void | setUserInfo (const XMLCh *const newUserInfo) |
| Set the userinfo for this URI.
|
void | setHost (const XMLCh *const newHost) |
| Set the host for this URI.
|
void | setPort (int newPort) |
| Set the port for this URI.
|
void | setRegBasedAuthority (const XMLCh *const newRegAuth) |
| Sets the registry based authority for this URI.
|
void | setPath (const XMLCh *const newPath) |
| Set the path for this URI.
|
void | setQueryString (const XMLCh *const newQueryString) |
| Set the query string for this URI.
|
void | setFragment (const XMLCh *const newFragment) |
| Set the fragment for this URI.
|
| XMLUri (MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) |
Static Public Member Functions |
static bool | isURIString (const XMLCh *const uric) |
| Determine whether a given string contains only URI characters (also called "uric" in RFC 2396).
|
static bool | isValidURI (const XMLUri *const baseURI, const XMLCh *const uriStr) |
| Determine whether a given string is a valid URI.
|
static bool | isValidURI (bool haveBaseURI, const XMLCh *const uriStr) |
| Determine whether a given string is a valid URI.
|
static void | normalizeURI (const XMLCh *const systemURI, XMLBuffer &normalizedURI) |