XMLHandler Class Reference

#include <XMLHandler.h>

Inheritance diagram for XMLHandler:

Inheritance graph
[legend]
Collaboration diagram for XMLHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 XMLHandler (const char *path)
virtual ~XMLHandler ()
DOMNode * getElementByTagName (const XMLCh *)
DOMNodeList * getElementListByTagName (const XMLCh *)
string getValueOfNode (DOMNode *)
string getValueOfNode (DOMNode *, const XMLCh *)
virtual void init ()=0

Protected Member Functions

list< string > getNodesChildDataList (XMLCh *parent, XMLCh *child)
string getChildData (DOMNode *parent, const XMLCh *childname)
void readXML () throw ( std::runtime_error )
void writeXML (bool pretty=false) throw ( std::runtime_error )
int getActualID ()

Protected Attributes

string xmlFile
string xmlPath
DOMDocument * doc
const StrXML core
const StrXML TAG_authors
const StrXML TAG_category
const StrXML TAG_crustaldecay
const StrXML TAG_dateAdded
const StrXML TAG_dependency
const StrXML TAG_description
const StrXML TAG_experiment
const StrXML TAG_file
const StrXML TAG_filename
const StrXML TAG_green
const StrXML TAG_job
const StrXML TAG_kernel
const StrXML TAG_load
const StrXML TAG_loadfunction
const StrXML TAG_loadhistory
const StrXML TAG_name
const StrXML TAG_output
const StrXML TAG_parameter
const StrXML TAG_plugin
const StrXML TAG_postprocessor
const StrXML TAG_region
const StrXML TAG_version
const StrXML ATTR_date
const StrXML ATTR_gmtime
const StrXML ATTR_id
const StrXML ATTR_job
const StrXML ATTR_localtime
const StrXML ATTR_name
const StrXML ATTR_user
const StrXML ATTR_value

Private Member Functions

 XMLHandler (const XMLHandler &x)
void fillNodesChildDataList (DOMNode *n, XMLCh *child, list< string > &datalist)

Private Attributes

XercesDOMParser parser
DOMTreeErrorReporter errReporter
DOMElement * rootElem

Constructor & Destructor Documentation

XMLHandler::XMLHandler ( const XMLHandler x  )  [private]

hidden and empty copy constructor - we do not want to accidentially copy objects

XMLHandler::XMLHandler ( const char *  path  ) 

XMLHandler::~XMLHandler (  )  [virtual]


Member Function Documentation

void XMLHandler::fillNodesChildDataList ( DOMNode *  n,
XMLCh *  child,
list< string > &  datalist 
) [private]

list< string > XMLHandler::getNodesChildDataList ( XMLCh *  parent,
XMLCh *  child 
) [protected]

string XMLHandler::getChildData ( DOMNode *  parent,
const XMLCh *  childname 
) [protected]

void XMLHandler::readXML (  )  throw ( std::runtime_error ) [protected]

void XMLHandler::writeXML ( bool  pretty = false  )  throw ( std::runtime_error ) [protected]

int XMLHandler::getActualID (  )  [protected]

get New ID

the actual

DOMNode * XMLHandler::getElementByTagName ( const XMLCh *   ) 

DOMNodeList * XMLHandler::getElementListByTagName ( const XMLCh *   ) 

string XMLHandler::getValueOfNode ( DOMNode *   ) 

string XMLHandler::getValueOfNode ( DOMNode *  ,
const XMLCh *   
)

virtual void XMLHandler::init (  )  [pure virtual]

Implemented in DatabaseManager, and InputHandler.


Member Data Documentation

XercesDOMParser XMLHandler::parser [private]

DOMTreeErrorReporter XMLHandler::errReporter [private]

DOMElement* XMLHandler::rootElem [private]

Reimplemented in InputHandler.

string XMLHandler::xmlFile [protected]

string XMLHandler::xmlPath [protected]

DOMDocument* XMLHandler::doc [protected]

const StrXML XMLHandler::core [protected]

const StrXML XMLHandler::TAG_authors [protected]

const StrXML XMLHandler::TAG_category [protected]

const StrXML XMLHandler::TAG_crustaldecay [protected]

const StrXML XMLHandler::TAG_dateAdded [protected]

const StrXML XMLHandler::TAG_dependency [protected]

const StrXML XMLHandler::TAG_description [protected]

const StrXML XMLHandler::TAG_experiment [protected]

const StrXML XMLHandler::TAG_file [protected]

const StrXML XMLHandler::TAG_filename [protected]

const StrXML XMLHandler::TAG_green [protected]

const StrXML XMLHandler::TAG_job [protected]

const StrXML XMLHandler::TAG_kernel [protected]

const StrXML XMLHandler::TAG_load [protected]

const StrXML XMLHandler::TAG_loadfunction [protected]

const StrXML XMLHandler::TAG_loadhistory [protected]

const StrXML XMLHandler::TAG_name [protected]

const StrXML XMLHandler::TAG_output [protected]

const StrXML XMLHandler::TAG_parameter [protected]

const StrXML XMLHandler::TAG_plugin [protected]

const StrXML XMLHandler::TAG_postprocessor [protected]

const StrXML XMLHandler::TAG_region [protected]

const StrXML XMLHandler::TAG_version [protected]

const StrXML XMLHandler::ATTR_date [protected]

const StrXML XMLHandler::ATTR_gmtime [protected]

const StrXML XMLHandler::ATTR_id [protected]

const StrXML XMLHandler::ATTR_job [protected]

const StrXML XMLHandler::ATTR_localtime [protected]

const StrXML XMLHandler::ATTR_name [protected]

const StrXML XMLHandler::ATTR_user [protected]

const StrXML XMLHandler::ATTR_value [protected]


The documentation for this class was generated from the following files:
Generated on Sun Aug 31 13:20:52 2008 for CrusDe by  doxygen 1.5.0