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,
263 m_authority = authority;
272 m_authority = authority;
313 return m_defined &
d_query ? true :
false;
355 m_fragment = fragment;
364 m_fragment = fragment;
395 unsigned int m_defined;
#define XALAN_CPP_NAMESPACE
const XalanDOMChar * c_str() const
URI handling (hopefully) according to RFC2396.
void parse(const XalanDOMString &uriString)
Parse the passed in uri.
void parse(const XalanDOMChar *uriString, XalanDOMString::size_type uriStringLen)
Parse the passed in uri.
void setFragment(const XalanDOMChar *fragment)
Set the fragment component.
void setScheme(const XalanDOMChar *scheme)
Set the scheme component.
void setQuery(const XalanDOMString &query)
Set the query component.
const XalanDOMString & getFragment() const
Get the fragment component.
void resolve(const XalanDOMChar *base, const XalanDOMString::size_type baseLen)
Resolve this URI relative to another.
const XalanDOMString & getPath() const
Get the path component.
void setPath(const XalanDOMChar *path)
Set the path component.
MemoryManager & getMemoryManager()
void setAuthority(const XalanDOMString &authority)
Set the authority component.
bool isFragmentDefined() const
See if the fragment component is defined.
void setFragment(const XalanDOMString &fragment)
Set the fragment component.
XalanParsedURI(MemoryManager &theManager)
Default constructor.
void setQuery(const XalanDOMChar *query)
Set the query component.
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.
static XalanDOMString & resolve(const XalanDOMString &relative, const XalanDOMString &base, XalanDOMString &theResult)
Resolve the one URI relative to another.
void setAuthority(const XalanDOMChar *authority)
Set the authority component.
XalanDOMString & make(XalanDOMString &theResult) const
Reassemble the uri components to make a complete URI.
void setPath(const XalanDOMString &path)
Set the path component.
XalanParsedURI(const XalanDOMString &uriString, MemoryManager &theManager)
Constructor which parses the passed in uri.
bool isQueryDefined() const
See if the query component is defined.
void setDefined(unsigned int defined)
Set the defined components mask.
bool isAuthorityDefined() const
See if the authority component is defined.
bool isSchemeDefined() const
See if the scheme component is defined.
const XalanDOMString & getAuthority() const
Get the authority component.
void setScheme(const XalanDOMString &scheme)
Set the scheme component.
void resolve(const XalanDOMString &base)
Resolve this URI relative to another.
void resolve(const XalanParsedURI &base)
Resolve this URI relative to another, according to RFC2396.
const XalanDOMString & getScheme() const
Get the scheme component.
XalanParsedURI(const XalanDOMChar *uriString, XalanDOMString::size_type uriStringLen, MemoryManager &theManager)
Constructor which parses the passed in uri.
unsigned int getDefined() const
Get the defined components mask.
const XalanDOMString & getQuery() const
Get function to get the query component.