|
Xerces-C++ 3.2.4
|
#include <xercesc/util/XMLURL.hpp>
Public Types | |
| enum | Protocols { File , HTTP , FTP , HTTPS , Protocols_Count , Unknown } |
Public Member Functions | |
| XMLURL (MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) | |
| XMLURL (const XMLCh *const baseURL, const XMLCh *const relativeURL, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) | |
| XMLURL (const XMLCh *const baseURL, const char *const relativeURL, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) | |
| XMLURL (const XMLURL &baseURL, const XMLCh *const relativeURL) | |
| XMLURL (const XMLURL &baseURL, const char *const relativeURL) | |
| XMLURL (const XMLCh *const urlText, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) | |
| XMLURL (const char *const urlText, MemoryManager *const manager=XMLPlatformUtils::fgMemoryManager) | |
| XMLURL (const XMLURL &toCopy) | |
| virtual | ~XMLURL () |
| XMLURL & | operator= (const XMLURL &toAssign) |
| bool | operator== (const XMLURL &toCompare) const |
| bool | operator!= (const XMLURL &toCompare) const |
| const XMLCh * | getFragment () const |
| const XMLCh * | getHost () const |
| const XMLCh * | getPassword () const |
| const XMLCh * | getPath () const |
| unsigned int | getPortNum () const |
| Protocols | getProtocol () const |
| const XMLCh * | getProtocolName () const |
| const XMLCh * | getQuery () const |
| const XMLCh * | getURLText () const |
| const XMLCh * | getUser () const |
| MemoryManager * | getMemoryManager () const |
| void | setURL (const XMLCh *const urlText) |
| void | setURL (const XMLCh *const baseURL, const XMLCh *const relativeURL) |
| void | setURL (const XMLURL &baseURL, const XMLCh *const relativeURL) |
| bool | setURL (const XMLCh *const baseURL, const XMLCh *const relativeURL, XMLURL &xmlURL) |
| bool | isRelative () const |
| bool | hasInvalidChar () const |
| BinInputStream * | makeNewStream () const |
| void | makeRelativeTo (const XMLCh *const baseURLText) |
| void | makeRelativeTo (const XMLURL &baseURL) |
| Public Member Functions inherited from XMemory | |
| void * | operator new (size_t size) |
| This method overrides operator new. | |
| void * | operator new (size_t size, MemoryManager *memMgr) |
| This method defines a custom operator new, that will use the provided memory manager to perform the allocation. | |
| void * | operator new (size_t size, void *ptr) |
| This method overrides placement operator new. | |
| void | operator delete (void *p) |
| This method overrides operator delete. | |
| void | operator delete (void *p, MemoryManager *memMgr) |
| This method provides a matching delete for the custom operator new. | |
| void | operator delete (void *p, void *ptr) |
| This method provides a matching delete for the placement new. | |
Static Public Member Functions | |
| static Protocols | lookupByName (const XMLCh *const protoName) |
| static bool | parse (const XMLCh *const urlText, XMLURL &xmlURL) |
Additional Inherited Members | |
| Protected Member Functions inherited from XMemory | |
| XMemory () | |
| Protected default constructor. | |
| enum XMLURL::Protocols |
| XMLURL::XMLURL | ( | MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager | ) |
References XMLPlatformUtils::fgMemoryManager.
Referenced by getURLText(), makeRelativeTo(), operator!=(), operator=(), operator==(), parse(), setURL(), setURL(), XMLURL(), XMLURL(), and XMLURL().
| XMLURL::XMLURL | ( | const XMLCh *const | baseURL, |
| const XMLCh *const | relativeURL, | ||
| MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager ) |
References XMLPlatformUtils::fgMemoryManager.
| XMLURL::XMLURL | ( | const XMLCh *const | baseURL, |
| const char *const | relativeURL, | ||
| MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager ) |
References XMLPlatformUtils::fgMemoryManager.
| XMLURL::XMLURL | ( | const XMLCh *const | urlText, |
| MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager ) |
References XMLPlatformUtils::fgMemoryManager.
| XMLURL::XMLURL | ( | const char *const | urlText, |
| MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager ) |
References XMLPlatformUtils::fgMemoryManager.
|
virtual |
| const XMLCh * XMLURL::getFragment | ( | ) | const |
Referenced by operator==().
| const XMLCh * XMLURL::getHost | ( | ) | const |
Referenced by operator==().
| MemoryManager * XMLURL::getMemoryManager | ( | ) | const |
Referenced by getProtocolName().
| const XMLCh * XMLURL::getPassword | ( | ) | const |
Referenced by operator==().
| const XMLCh * XMLURL::getPath | ( | ) | const |
Referenced by operator==().
| unsigned int XMLURL::getPortNum | ( | ) | const |
References getProtocol().
| XMLURL::Protocols XMLURL::getProtocol | ( | ) | const |
Referenced by getPortNum().
| const XMLCh * XMLURL::getProtocolName | ( | ) | const |
References getMemoryManager(), getQuery(), getURLText(), and getUser().
| const XMLCh * XMLURL::getQuery | ( | ) | const |
Referenced by getProtocolName().
| const XMLCh * XMLURL::getURLText | ( | ) | const |
References XMLURL().
Referenced by getProtocolName().
| const XMLCh * XMLURL::getUser | ( | ) | const |
Referenced by getProtocolName().
| bool XMLURL::hasInvalidChar | ( | ) | const |
| bool XMLURL::isRelative | ( | ) | const |
| BinInputStream * XMLURL::makeNewStream | ( | ) | const |
| void XMLURL::makeRelativeTo | ( | const XMLCh *const | baseURLText | ) |
| bool XMLURL::operator!= | ( | const XMLURL & | toCompare | ) | const |
References operator==(), and XMLURL().
Referenced by operator==().
| bool XMLURL::operator== | ( | const XMLURL & | toCompare | ) | const |
References getFragment(), getHost(), getPassword(), getPath(), operator!=(), and XMLURL().
Referenced by operator!=().
References XMLURL().
Referenced by makeRelativeTo().
References XMLURL().
| void XMLURL::setURL | ( | const XMLCh *const | urlText | ) |