|
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
19 #if !defined(XALANPARSEDURI_HEADER_GUARD_1357924680)
20 #define XALANPARSEDURI_HEADER_GUARD_1357924680
60 m_authority(theManager),
63 m_fragment(theManager),
75 const XalanDOMChar* uriString,
77 MemoryManager& theManager) :
79 m_authority(theManager),
82 m_fragment(theManager),
85 parse(uriString, uriStringLen);
95 MemoryManager& theManager) :
97 m_authority(theManager),
100 m_fragment(theManager),
109 return m_scheme.getMemoryManager();
119 const XalanDOMChar* uriString,
155 const XalanDOMChar *base,
184 const XalanDOMChar *relative,
186 const XalanDOMChar *base,
221 return m_defined & d_scheme;
230 m_defined |= d_scheme;
239 m_defined |= d_scheme;
255 return m_defined & d_authority ? true :
false;
263 m_authority = authority;
264 m_defined |= d_authority;
272 m_authority = authority;
273 m_defined |= d_authority;
313 return m_defined & d_query ? true :
false;
322 m_defined |= d_query;
331 m_defined |= d_query;
347 return m_defined & d_fragment ? true :
false;
355 m_fragment = fragment;
356 m_defined |= d_fragment;
364 m_fragment = fragment;
365 m_defined |= d_fragment;
395 unsigned int m_defined;
400 #endif // XALANPARSEDURI_HEADER_GUARD_1357924680
void resolve(const XalanDOMChar *base, const XalanDOMString::size_type baseLen)
Resolve this URI relative to another.
const XalanDOMString & getFragment() const
Get the fragment component.
const XalanDOMString & getAuthority() const
Get the authority component.
void resolve(const XalanDOMString &base)
Resolve this URI relative to another.
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
unsigned int getDefined() const
Get the defined components mask.
const XalanDOMString & getPath() const
Get the path component.
void parse(const XalanDOMString &uriString)
Parse the passed in uri.
void setDefined(unsigned int defined)
Set the defined components mask.
void setQuery(const XalanDOMChar *query)
Set the query component.
const XalanDOMString & getScheme() const
Get the scheme component.
void setPath(const XalanDOMChar *path)
Set the path component.
void setFragment(const XalanDOMChar *fragment)
Set the fragment component.
XalanParsedURI(MemoryManager &theManager)
Default constructor.
XalanParsedURI(const XalanDOMChar *uriString, XalanDOMString::size_type uriStringLen, MemoryManager &theManager)
Constructor which parses the passed in uri.
void setQuery(const XalanDOMString &query)
Set the query component.
MemoryManager & getMemoryManager()
void setAuthority(const XalanDOMString &authority)
Set the authority component.
void setPath(const XalanDOMString &path)
Set the path component.
void setScheme(const XalanDOMChar *scheme)
Set the scheme component.
void setScheme(const XalanDOMString &scheme)
Set the scheme component.
const XalanDOMString & getQuery() const
Get function to get the query component.
bool isQueryDefined() const
See if the query component is defined.
static XalanDOMString & resolve(const XalanDOMString &relative, const XalanDOMString &base, XalanDOMString &theResult)
Resolve the one URI relative to another.
bool isSchemeDefined() const
See if the scheme component is defined.
const XalanDOMChar * c_str() const
XalanParsedURI(const XalanDOMString &uriString, MemoryManager &theManager)
Constructor which parses the passed in uri.
void setFragment(const XalanDOMString &fragment)
Set the fragment component.
bool isFragmentDefined() const
See if the fragment component is defined.
void setAuthority(const XalanDOMChar *authority)
Set the authority component.
URI handling (hopefully) according to RFC2396.
bool isAuthorityDefined() const
See if the authority component is defined.