22 #if !defined(XERCESC_INCLUDE_GUARD_XMLURL_HPP)
23 #define XERCESC_INCLUDE_GUARD_XMLURL_HPP
59 static Protocols lookupByName(
const XMLCh*
const protoName);
60 static bool parse(
const XMLCh*
const urlText,
XMLURL& xmlURL);
68 const XMLCh*
const baseURL
69 ,
const XMLCh*
const relativeURL
74 const XMLCh*
const baseURL
75 ,
const char*
const relativeURL
81 ,
const XMLCh*
const relativeURL
86 ,
const char*
const relativeURL
90 const XMLCh*
const urlText
95 const char*
const urlText
106 bool operator==(
const XMLURL& toCompare)
const;
107 bool operator!=(
const XMLURL& toCompare)
const;
113 const XMLCh* getFragment()
const;
114 const XMLCh* getHost()
const;
115 const XMLCh* getPassword()
const;
116 const XMLCh* getPath()
const;
117 unsigned int getPortNum()
const;
118 Protocols getProtocol()
const;
119 const XMLCh* getProtocolName()
const;
120 const XMLCh* getQuery()
const;
121 const XMLCh* getURLText()
const;
122 const XMLCh* getUser()
const;
129 void setURL(
const XMLCh*
const urlText);
132 const XMLCh*
const baseURL
133 ,
const XMLCh*
const relativeURL
138 ,
const XMLCh*
const relativeURL
142 const XMLCh*
const baseURL
143 ,
const XMLCh*
const relativeURL
148 bool isRelative()
const;
149 bool hasInvalidChar()
const;
151 void makeRelativeTo(
const XMLCh*
const baseURLText);
152 void makeRelativeTo(
const XMLURL& baseURL);
159 void buildFullText();
161 bool conglomerateWithBase(
const XMLURL& baseURL,
bool useExceptions=
true);
164 const XMLCh*
const urlText
213 unsigned int fPortNum;
218 bool fHasInvalidChar;
277 ((
XMLURL*)
this)->buildFullText();
284 return fMemoryManager;
This class makes it possible to override the C++ memory management by adding new/delete operators to ...
Definition: XMemory.hpp:40
const XMLCh * getHost() const
Definition: XMLURL.hpp:239
Definition: XMLURL.hpp:35
Protocols getProtocol() const
Definition: XMLURL.hpp:254
Configurable memory manager.
Definition: MemoryManager.hpp:39
const XMLCh * getFragment() const
Definition: XMLURL.hpp:234
const XMLCh * getURLText() const
Definition: XMLURL.hpp:269
MemoryManager * getMemoryManager() const
Definition: XMLURL.hpp:282
#define XERCES_CPP_NAMESPACE_BEGIN
Definition: XercesDefs.hpp:112
wchar_t XMLCh
Definition: Xerces_autoconf_config.borland.hpp:92
#define XMLUTIL_EXPORT
Definition: XercesDefs.hpp:162
bool operator==(const XMLURL &toCompare) const
#define XERCES_CPP_NAMESPACE_END
Definition: XercesDefs.hpp:113
const XMLCh * getQuery() const
Definition: XMLURL.hpp:259
const XMLCh * getPassword() const
Definition: XMLURL.hpp:244
const XMLCh * getUser() const
Definition: XMLURL.hpp:264
Protocols
Definition: XMLURL.hpp:44
bool operator!=(const XMLURL &toCompare) const
Definition: XMLURL.hpp:225
const XMLCh * getPath() const
Definition: XMLURL.hpp:249