Xalan-C++ API Reference
1.12.0
|
URI handling (hopefully) according to RFC2396. More...
#include <xalanc/PlatformSupport/XalanParsedURI.hpp>
Public Types | |
enum | eComponent { d_scheme = 1, d_authority = 2, d_query = 4, d_fragment = 8 } |
Public Member Functions | |
XalanParsedURI (MemoryManager &theManager) | |
Default constructor. More... | |
XalanParsedURI (const XalanDOMChar *uriString, XalanDOMString::size_type uriStringLen, MemoryManager &theManager) | |
Constructor which parses the passed in uri. More... | |
XalanParsedURI (const XalanDOMString &uriString, MemoryManager &theManager) | |
Constructor which parses the passed in uri. More... | |
MemoryManager & | 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.
Definition at line 41 of file XalanParsedURI.hpp.
Enumerator | |
---|---|
d_scheme | |
d_authority | |
d_query | |
d_fragment |
Definition at line 47 of file XalanParsedURI.hpp.
|
inline |
Default constructor.
Definition at line 58 of file XalanParsedURI.hpp.
|
inline |
Constructor which parses the passed in uri.
uriString | URI to parse |
uriStringLen | Length of the URI string |
Definition at line 74 of file XalanParsedURI.hpp.
|
inline |
Constructor which parses the passed in uri.
uriString | URI to parse |
Definition at line 93 of file XalanParsedURI.hpp.
References xalanc::XalanDOMString::c_str(), and xalanc::XalanDOMString::length().
|
inline |
Get the authority component.
Definition at line 245 of file XalanParsedURI.hpp.
|
inline |
Get the defined components mask.
Definition at line 371 of file XalanParsedURI.hpp.
|
inline |
Get the fragment component.
Definition at line 337 of file XalanParsedURI.hpp.
|
inline |
Definition at line 107 of file XalanParsedURI.hpp.
|
inline |
Get the path component.
Definition at line 279 of file XalanParsedURI.hpp.
|
inline |
Get function to get the query component.
Definition at line 303 of file XalanParsedURI.hpp.
|
inline |
Get the scheme component.
Definition at line 211 of file XalanParsedURI.hpp.
|
inline |
See if the authority component is defined.
Definition at line 253 of file XalanParsedURI.hpp.
|
inline |
See if the fragment component is defined.
Definition at line 345 of file XalanParsedURI.hpp.
|
inline |
See if the query component is defined.
Definition at line 311 of file XalanParsedURI.hpp.
|
inline |
See if the scheme component is defined.
Definition at line 219 of file XalanParsedURI.hpp.
XalanDOMString& xalanc::XalanParsedURI::make | ( | XalanDOMString & | theResult | ) | const |
Reassemble the uri components to make a complete URI.
void xalanc::XalanParsedURI::parse | ( | const XalanDOMChar * | uriString, |
XalanDOMString::size_type | uriStringLen | ||
) |
Parse the passed in uri.
uriString | URI to parse |
uriStringLen | Length of the URI string |
|
inline |
Parse the passed in uri.
uriString | URI to parse |
uriStringLen | Length of the URI string |
Definition at line 128 of file XalanParsedURI.hpp.
References xalanc::XalanDOMString::c_str(), and xalanc::XalanDOMString::length().
|
inline |
Resolve this URI relative to another.
base | The base URI string |
baseLen | The length of the base URI |
Definition at line 154 of file XalanParsedURI.hpp.
|
static |
Resolve the one URI relative to another.
@relative The URI string to resolve @relativeLen The lengh of the relative URI string @base The base URI string @baseLen The length of the base URI string
|
inline |
Resolve this URI relative to another.
base | The base URI string |
Definition at line 168 of file XalanParsedURI.hpp.
References xalanc::XalanDOMString::c_str(), and xalanc::XalanDOMString::length().
|
inlinestatic |
Resolve the one URI relative to another.
@relative The URI string to resolve @base The base URI string
Definition at line 199 of file XalanParsedURI.hpp.
References xalanc::XalanDOMString::c_str(), and xalanc::XalanDOMString::length().
void xalanc::XalanParsedURI::resolve | ( | const XalanParsedURI & | base | ) |
Resolve this URI relative to another, according to RFC2396.
base | The base URI to use during resolution. |
|
inline |
Set the authority component.
Also sets the authority defined flag.
Definition at line 261 of file XalanParsedURI.hpp.
|
inline |
Set the authority component.
Also sets the authority defined flag.
Definition at line 270 of file XalanParsedURI.hpp.
|
inline |
Set the defined components mask.
Definition at line 379 of file XalanParsedURI.hpp.
|
inline |
Set the fragment component.
Also sets the fragment defined flag.
Definition at line 353 of file XalanParsedURI.hpp.
|
inline |
Set the fragment component.
Also sets the fragment defined flag.
Definition at line 362 of file XalanParsedURI.hpp.
|
inline |
Set the path component.
Definition at line 287 of file XalanParsedURI.hpp.
|
inline |
Set the path component.
Definition at line 295 of file XalanParsedURI.hpp.
|
inline |
Set the query component.
Also sets the query defined flag.
Definition at line 319 of file XalanParsedURI.hpp.
|
inline |
Set the query component.
Also sets the query defined flag.
Definition at line 328 of file XalanParsedURI.hpp.
|
inline |
Set the scheme component.
Also sets the scheme defined flag.
Definition at line 227 of file XalanParsedURI.hpp.
|
inline |
Set the scheme component.
Also sets the scheme defined flag.
Definition at line 236 of file XalanParsedURI.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sun May 31 2020 10:37:37 for Xalan-C++ API Reference by 1.8.17