XMLURL class Reference

| API Docs for SAX and DOM |

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# XMLURL Class Reference

Inheritance diagram for XMLURL:

[legend]
Collaboration diagram for XMLURL:

[legend]
List of all members.

## Public Types

enum | Protocols { File, HTTP, FTP, Protocols_Count, Unknown }

## Public Methods

| 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 | isRelative () const
bool | hasInvalidChar () const
BinInputStream * | makeNewStream () const
void | makeRelativeTo (const XMLCh *const baseURLText)
void | makeRelativeTo (const XMLURL &baseURL)

## Static Public Methods

Protocols | lookupByName (const XMLCh *const protoName)

## Member Enumeration Documentation

enum XMLURL::Protocols

Enumeration values:

  File |
  HTTP |
  FTP |
  Protocols_Count |
  Unknown |

## Constructor & Destructor Documentation

XMLURL::XMLURL | ( | MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager | ) |

XMLURL::XMLURL | ( | const XMLCh *const | baseURL,
|  | const XMLCh *const | relativeURL,
|  | MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager
| ) |

XMLURL::XMLURL | ( | const XMLCh *const | baseURL,
|  | const char *const | relativeURL,
|  | MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager
| ) |

XMLURL::XMLURL | ( | const XMLURL & | baseURL,
|  | const XMLCh *const | relativeURL
| ) |

XMLURL::XMLURL | ( | const XMLURL & | baseURL,
|  | const char *const | relativeURL
| ) |

XMLURL::XMLURL | ( | const XMLCh *const | urlText,
|  | MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager
| ) |

XMLURL::XMLURL | ( | const char *const | urlText,
|  | MemoryManager *const | manager = XMLPlatformUtils::fgMemoryManager
| ) |

XMLURL::XMLURL | ( | const XMLURL & | toCopy | ) |

virtual XMLURL::~XMLURL | ( |  | ) | `[virtual]`

## Member Function Documentation

const XMLCh * XMLURL::getFragment | ( |  | ) |

const XMLCh * XMLURL::getHost | ( |  | ) |

MemoryManager * XMLURL::getMemoryManager | ( |  | ) |

const XMLCh * XMLURL::getPassword | ( |  | ) |

const XMLCh * XMLURL::getPath | ( |  | ) |

unsigned int XMLURL::getPortNum | ( |  | ) |

XMLURL::Protocols XMLURL::getProtocol | ( |  | ) |

const XMLCh* XMLURL::getProtocolName | ( |  | ) |

const XMLCh * XMLURL::getQuery | ( |  | ) |

const XMLCh * XMLURL::getURLText | ( |  | ) |

const XMLCh * XMLURL::getUser | ( |  | ) |

bool XMLURL::hasInvalidChar | ( |  | ) |

bool XMLURL::isRelative | ( |  | ) |

Protocols XMLURL::lookupByName | ( | const XMLCh *const | protoName | ) | `[static]`

BinInputStream* XMLURL::makeNewStream | ( |  | ) |

void XMLURL::makeRelativeTo | ( | const XMLURL & | baseURL | ) |

void XMLURL::makeRelativeTo | ( | const XMLCh *const | baseURLText | ) |

bool XMLURL::operator!= | ( | const XMLURL & | toCompare | ) | const

XMLURL& XMLURL::operator= | ( | const XMLURL & | toAssign | ) |

bool XMLURL::operator== | ( | const XMLURL & | toCompare | ) | const

void XMLURL::setURL | ( | const XMLURL & | baseURL,
|  | const XMLCh *const | relativeURL
| ) |

void XMLURL::setURL | ( | const XMLCh *const | baseURL,
|  | const XMLCh *const | relativeURL
| ) |

void XMLURL::setURL | ( | const XMLCh *const | urlText | ) |

The documentation for this class was generated from the following file:

- XMLURL.hpp

Copyright © 2000 The Apache Software Foundation. All Rights Reserved.