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

# XML_ContentHandler Class Reference

Implementation Repository. More...

`#include <XML_ContentHandler.h>`

List of all members.

## Public Methods
| XML_ContentHandler (const char *server_name)
virtual | ~XML_ContentHandler (void)
virtual void | characters (const ACEXML_Char *ch, int start, int length ACEXML_ENV_ARG_DECL) throw (ACEXML_SAXException)
virtual void | endDocument (ACEXML_ENV_SINGLE_ARG_DECL) throw (ACEXML_SAXException)
virtual void | endElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName ACEXML_ENV_ARG_DECL) throw (ACEXML_SAXException)
virtual void | endPrefixMapping (const ACEXML_Char *prefix ACEXML_ENV_ARG_DECL) throw (ACEXML_SAXException)
virtual void | ignorableWhitespace (const ACEXML_Char *ch, int start, int length ACEXML_ENV_ARG_DECL) throw (ACEXML_SAXException)
virtual void | processingInstruction (const ACEXML_Char *target, const ACEXML_Char *data ACEXML_ENV_ARG_DECL) throw (ACEXML_SAXException)
virtual void | setDocumentLocator (ACEXML_Locator *locator)
virtual void | skippedEntity (const ACEXML_Char *name ACEXML_ENV_ARG_DECL) throw (ACEXML_SAXException)
virtual void | startDocument (ACEXML_ENV_SINGLE_ARG_DECL) throw (ACEXML_SAXException)
virtual void | startElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName, ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL) throw (ACEXML_SAXException)
virtual void | startPrefixMapping (const ACEXML_Char *prefix, const ACEXML_Char *uri ACEXML_ENV_ARG_DECL) throw (ACEXML_SAXException)
virtual void | notationDecl (const ACEXML_Char *name, const ACEXML_Char *publicId, const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL) throw (ACEXML_SAXException)
virtual void | unparsedEntityDecl (const ACEXML_Char *name, const ACEXML_Char *publicId, const ACEXML_Char *systemId, const ACEXML_Char *notationName ACEXML_ENV_ARG_DECL) throw (ACEXML_SAXException)
virtual ACEXML_InputSource * | resolveEntity (const ACEXML_Char *publicId, const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL) throw (ACEXML_SAXException)
virtual void | error (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL) throw (ACEXML_SAXException)
virtual void | fatalError (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL) throw (ACEXML_SAXException)
virtual void | warning (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL) throw (ACEXML_SAXException)
int | get_startup_information (ACE_CString &logical_server_name, ACE_CString &startup_command, ACE_CString &working_dir, ACE_CString &activation)
int | get_running_information (ACE_CString POA_name, ACE_CString &location, ACE_CString &server_object_ior)
void | update_running_information (ACE_CString POA_name, ACE_CString location, ACE_CString server_object_ior)
void | set_startup_value (ACE_CString POA_name, int new_value)
void | get_startup_value (ACE_CString POA_name, int &new_value)
## Private Attributes
ACE_CString | server_name_
ACE_CString | command_line_
ACE_CString | activation_
ACE_CString | working_dir_
ACE_CString | environment_vars_
ACE_CString | server_object_ior_
ACE_CString | location_
bool | found_server_entry_
bool | command_line_entry_
bool | working_dir_entry_
bool | environment_vars_entry_
bool | activation_entry_
bool | server_object_ior_entry_
bool | location_entry_
bool | startup_value_

## Detailed Description

Implementation Repository.

This provides the interface to update the Server Configuration which is in an xml file.

## Constructor & Destructor Documentation

XML_ContentHandler::XML_ContentHandler | ( | const char * | server_name | ) |

XML_ContentHandler::~XML_ContentHandler | ( | void |  | ) | `[virtual]`

## Member Function Documentation

void XML_ContentHandler::characters | ( | const ACEXML_Char * | ch,
|  | int | start,
|  | int length | ACEXML_ENV_ARG_DECL
| ) | throw (ACEXML_SAXException)`[virtual]`

void XML_ContentHandler::endDocument | ( | ACEXML_ENV_SINGLE_ARG_DECL |  | ) | throw (ACEXML_SAXException)`[virtual]`

virtual void XML_ContentHandler::endElement | ( | const ACEXML_Char * | namespaceURI,
|  | const ACEXML_Char * | localName,
|  | const ACEXML_Char *qName | ACEXML_ENV_ARG_DECL
| ) | throw (ACEXML_SAXException)`[virtual]`

virtual void XML_ContentHandler::endPrefixMapping | ( | const ACEXML_Char *prefix | ACEXML_ENV_ARG_DECL | ) | throw (ACEXML_SAXException)`[virtual]`

virtual void XML_ContentHandler::error | ( | ACEXML_SAXParseException &exception | ACEXML_ENV_ARG_DECL | ) | throw (ACEXML_SAXException)`[virtual]`

virtual void XML_ContentHandler::fatalError | ( | ACEXML_SAXParseException &exception | ACEXML_ENV_ARG_DECL | ) | throw (ACEXML_SAXException)`[virtual]`

int XML_ContentHandler::get_running_information | ( | ACE_CString | POA_name,
|  | ACE_CString & | location,
|  | ACE_CString & | server_object_ior
| ) |

int XML_ContentHandler::get_startup_information | ( | ACE_CString & | logical_server_name,
|  | ACE_CString & | startup_command,
|  | ACE_CString & | working_dir,
|  | ACE_CString & | activation
| ) |

void XML_ContentHandler::get_startup_value | ( | ACE_CString | POA_name,
|  | int & | new_value
| ) |

void XML_ContentHandler::ignorableWhitespace | ( | const ACEXML_Char * | ch,
|  | int | start,
|  | int length | ACEXML_ENV_ARG_DECL
| ) | throw (ACEXML_SAXException)`[virtual]`

virtual void XML_ContentHandler::notationDecl | ( | const ACEXML_Char * | name,
|  | const ACEXML_Char * | publicId,
|  | const ACEXML_Char *systemId | ACEXML_ENV_ARG_DECL
| ) | throw (ACEXML_SAXException)`[virtual]`

virtual void XML_ContentHandler::processingInstruction | ( | const ACEXML_Char * | target,
|  | const ACEXML_Char *data | ACEXML_ENV_ARG_DECL
| ) | throw (ACEXML_SAXException)`[virtual]`

virtual ACEXML_InputSource* XML_ContentHandler::resolveEntity | ( | const ACEXML_Char * | publicId,
|  | const ACEXML_Char *systemId | ACEXML_ENV_ARG_DECL
| ) | throw (ACEXML_SAXException)`[virtual]`

void XML_ContentHandler::set_startup_value | ( | ACE_CString | POA_name,
|  | int | new_value
| ) |

void XML_ContentHandler::setDocumentLocator | ( | ACEXML_Locator * | locator | ) | `[virtual]`

virtual void XML_ContentHandler::skippedEntity | ( | const ACEXML_Char *name | ACEXML_ENV_ARG_DECL | ) | throw (ACEXML_SAXException)`[virtual]`

void XML_ContentHandler::startDocument | ( | ACEXML_ENV_SINGLE_ARG_DECL |  | ) | throw (ACEXML_SAXException)`[virtual]`

virtual void XML_ContentHandler::startElement | ( | const ACEXML_Char * | namespaceURI,
|  | const ACEXML_Char * | localName,
|  | const ACEXML_Char * | qName,
|  | ACEXML_Attributes *atts | ACEXML_ENV_ARG_DECL
| ) | throw (ACEXML_SAXException)`[virtual]`

virtual void XML_ContentHandler::startPrefixMapping | ( | const ACEXML_Char * | prefix,
|  | const ACEXML_Char *uri | ACEXML_ENV_ARG_DECL
| ) | throw (ACEXML_SAXException)`[virtual]`

virtual void XML_ContentHandler::unparsedEntityDecl | ( | const ACEXML_Char * | name,
|  | const ACEXML_Char * | publicId,
|  | const ACEXML_Char * | systemId,
|  | const ACEXML_Char *notationName | ACEXML_ENV_ARG_DECL
| ) | throw (ACEXML_SAXException)`[virtual]`

void XML_ContentHandler::update_running_information | ( | ACE_CString | POA_name,
|  | ACE_CString | location,
|  | ACE_CString | server_object_ior
| ) |

virtual void XML_ContentHandler::warning | ( | ACEXML_SAXParseException &exception | ACEXML_ENV_ARG_DECL | ) | throw (ACEXML_SAXException)`[virtual]`

## Member Data Documentation

ACE_CString XML_ContentHandler::activation_`[private]`

bool XML_ContentHandler::activation_entry_`[private]`

ACE_CString XML_ContentHandler::command_line_`[private]`

bool XML_ContentHandler::command_line_entry_`[private]`

ACE_CString XML_ContentHandler::environment_vars_`[private]`

bool XML_ContentHandler::environment_vars_entry_`[private]`

bool XML_ContentHandler::found_server_entry_`[private]`

ACE_CString XML_ContentHandler::location_`[private]`

bool XML_ContentHandler::location_entry_`[private]`

ACE_CString XML_ContentHandler::server_name_`[private]`

ACE_CString XML_ContentHandler::server_object_ior_`[private]`

bool XML_ContentHandler::server_object_ior_entry_`[private]`

bool XML_ContentHandler::startup_value_`[private]`

ACE_CString XML_ContentHandler::working_dir_`[private]`

bool XML_ContentHandler::working_dir_entry_`[private]`

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

- XML_ContentHandler.h
- XML_ContentHandler.cpp