URI handling (hopefully) according to RFC2396. More...
Public Types | |
| enum | eComponent { d_scheme = 1, d_authority = 2, d_query = 4, d_fragment = 8 } |
Public Member Functions | |
| XalanParsedURI (MemoryManagerType &theManager) | |
| Default constructor. More... | |
| XalanParsedURI (const XalanDOMChar *uriString, XalanDOMString::size_type uriStringLen, MemoryManagerType &theManager) | |
| Constructor which parses the passed in uri. More... | |
| XalanParsedURI (const XalanDOMString &uriString, MemoryManagerType &theManager) | |
| Constructor which parses the passed in uri. More... | |
| MemoryManagerType & | getMemoryManager () |
| void | parse (const XalanDOMChar *uriString, XalanDOMString::size_type uriStringLen) |
| Parse the passed in uri. More... | |
| void | parse (const XalanDOMString &uriString) |
| Parse the passed in uri. More... | |
| XalanDOMString & | make (XalanDOMString &theResult) const |
| Reassemble the uri components to make a complete URI. More... | |
| void | resolve (const XalanParsedURI &base) |
| Resolve this URI relative to another, according to RFC2396. More... | |
| void | resolve (const XalanDOMChar *base, const XalanDOMString::size_type baseLen) |
| Resolve this URI relative to another. More... | |
| void | resolve (const XalanDOMString &base) |
| Resolve this URI relative to another. More... | |
| const XalanDOMString & | getScheme () const |
| Get the scheme component. More... | |
| bool | isSchemeDefined () const |
| See if the scheme component is defined. More... | |
| void | setScheme (const XalanDOMChar *scheme) |
| Set the scheme component. More... | |
| void | setScheme (const XalanDOMString &scheme) |
| Set the scheme component. More... | |
| const XalanDOMString & | getAuthority () const |
| Get the authority component. More... | |
| bool | isAuthorityDefined () const |
| See if the authority component is defined. More... | |
| void | setAuthority (const XalanDOMChar *authority) |
| Set the authority component. More... | |
| void | setAuthority (const XalanDOMString &authority) |
| Set the authority component. More... | |
| const XalanDOMString & | getPath () const |
| Get the path component. More... | |
| void | setPath (const XalanDOMChar *path) |
| Set the path component. More... | |
| void | setPath (const XalanDOMString &path) |
| Set the path component. More... | |
| const XalanDOMString & | getQuery () const |
| Get function to get the query component. More... | |
| bool | isQueryDefined () const |
| See if the query component is defined. More... | |
| void | setQuery (const XalanDOMChar *query) |
| Set the query component. More... | |
| void | setQuery (const XalanDOMString &query) |
| Set the query component. More... | |
| const XalanDOMString & | getFragment () const |
| Get the fragment component. More... | |
| bool | isFragmentDefined () const |
| See if the fragment component is defined. More... | |
| void | setFragment (const XalanDOMChar *fragment) |
| Set the fragment component. More... | |
| void | setFragment (const XalanDOMString &fragment) |
| Set the fragment component. More... | |
| unsigned int | getDefined () const |
| Get the defined components mask. More... | |
| void | setDefined (unsigned int defined) |
| Set the defined components mask. More... | |
Static Public Member Functions | |
| static XalanDOMString & | resolve (const XalanDOMChar *relative, XalanDOMString::size_type relativeLen, const XalanDOMChar *base, XalanDOMString::size_type baseLen, XalanDOMString &theResult) |
| Resolve the one URI relative to another. More... | |
| static XalanDOMString & | resolve (const XalanDOMString &relative, const XalanDOMString &base, XalanDOMString &theResult) |
| Resolve the one URI relative to another. More... | |
URI handling (hopefully) according to RFC2396.
| XalanParsedURI::XalanParsedURI | ( | MemoryManagerType & | theManager | ) |
Default constructor.
| XalanParsedURI::XalanParsedURI | ( | const XalanDOMChar * | uriString, |
| XalanDOMString::size_type | uriStringLen, | ||
| MemoryManagerType & | theManager | ||
| ) |
Constructor which parses the passed in uri.
| uriString | URI to parse |
| uriStringLen | Length of the URI string |
| XalanParsedURI::XalanParsedURI | ( | const XalanDOMString & | uriString, |
| MemoryManagerType & | theManager | ||
| ) |
Constructor which parses the passed in uri.
| uriString | URI to parse |
| const XalanDOMString& XalanParsedURI::getAuthority | ( | ) | const |
Get the authority component.
| unsigned int XalanParsedURI::getDefined | ( | ) | const |
Get the defined components mask.
| const XalanDOMString& XalanParsedURI::getFragment | ( | ) | const |
Get the fragment component.
| MemoryManagerType& XalanParsedURI::getMemoryManager | ( | ) |
| const XalanDOMString& XalanParsedURI::getPath | ( | ) | const |
Get the path component.
| const XalanDOMString& XalanParsedURI::getQuery | ( | ) | const |
Get function to get the query component.
| const XalanDOMString& XalanParsedURI::getScheme | ( | ) | const |
Get the scheme component.
| bool XalanParsedURI::isAuthorityDefined | ( | ) | const |
See if the authority component is defined.
| bool XalanParsedURI::isFragmentDefined | ( | ) | const |
See if the fragment component is defined.
| bool XalanParsedURI::isQueryDefined | ( | ) | const |
See if the query component is defined.
| bool XalanParsedURI::isSchemeDefined | ( | ) | const |
See if the scheme component is defined.
| XalanDOMString& XalanParsedURI::make | ( | XalanDOMString & | theResult | ) | const |
Reassemble the uri components to make a complete URI.
| void XalanParsedURI::parse | ( | const XalanDOMChar * | uriString, |
| XalanDOMString::size_type | uriStringLen | ||
| ) |
Parse the passed in uri.
| uriString | URI to parse |
| uriStringLen | Length of the URI string |
| void XalanParsedURI::parse | ( | const XalanDOMString & | uriString | ) |
Parse the passed in uri.
| uriString | URI to parse |
| uriStringLen | Length of the URI string |
| void XalanParsedURI::resolve | ( | const XalanParsedURI & | base | ) |
Resolve this URI relative to another, according to RFC2396.
| base | The base URI to use during resolution. |
| void XalanParsedURI::resolve | ( | const XalanDOMChar * | base, |
| const XalanDOMString::size_type | baseLen | ||
| ) |
Resolve this URI relative to another.
| base | The base URI string |
| baseLen | The length of the base URI |
| void XalanParsedURI::resolve | ( | const XalanDOMString & | base | ) |
Resolve this URI relative to another.
| base | The base URI string |
|
static |
Resolve the one URI relative to another.
The URI string to resolve The lengh of the relative URI string The base URI string The length of the base URI string
|
static |
Resolve the one URI relative to another.
The URI string to resolve The base URI string
| void XalanParsedURI::setAuthority | ( | const XalanDOMChar * | authority | ) |
Set the authority component.
Also sets the authority defined flag.
| void XalanParsedURI::setAuthority | ( | const XalanDOMString & | authority | ) |
Set the authority component.
Also sets the authority defined flag.
| void XalanParsedURI::setDefined | ( | unsigned int | defined | ) |
Set the defined components mask.
| void XalanParsedURI::setFragment | ( | const XalanDOMChar * | fragment | ) |
Set the fragment component.
Also sets the fragment defined flag.
| void XalanParsedURI::setFragment | ( | const XalanDOMString & | fragment | ) |
Set the fragment component.
Also sets the fragment defined flag.
| void XalanParsedURI::setPath | ( | const XalanDOMChar * | path | ) |
Set the path component.
| void XalanParsedURI::setPath | ( | const XalanDOMString & | path | ) |
Set the path component.
| void XalanParsedURI::setQuery | ( | const XalanDOMChar * | query | ) |
Set the query component.
Also sets the query defined flag.
| void XalanParsedURI::setQuery | ( | const XalanDOMString & | query | ) |
Set the query component.
Also sets the query defined flag.
| void XalanParsedURI::setScheme | ( | const XalanDOMChar * | scheme | ) |
Set the scheme component.
Also sets the scheme defined flag.
| void XalanParsedURI::setScheme | ( | const XalanDOMString & | scheme | ) |
Set the scheme component.
Also sets the scheme defined flag.
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
|
Xalan-C++ XSLT Processor Version 1.10 |
|
|