DDLSAX2ConfigHandler is the handler for the configuration file. More...
#include <DDLSAX2ConfigHandler.h>
Public Member Functions | |
DDLSAX2ConfigHandler (DDCompactView &cpv) | |
const bool | doValidation () const |
const std::vector< std::string > & | getFileNames () const |
const std::string | getSchemaLocation () const |
const std::vector< std::string > & | getURLs () const |
void | startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs) |
~DDLSAX2ConfigHandler () | |
Public Member Functions inherited from DDLSAX2Handler | |
virtual void | characters (const XMLCh *const chars, const unsigned int length) |
virtual void | comment (const XMLCh *const chars, const unsigned int length) |
DDLSAX2Handler () | |
virtual void | dumpStats (const std::string &fname) |
virtual void | endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) |
virtual void | error (const SAXParseException &exception) |
virtual void | fatalError (const SAXParseException &exception) |
unsigned int | getAttrCount () const |
Get the count of attributes processed so far. More... | |
unsigned int | getCharacterCount () const |
Get the count of characters processed so far. More... | |
unsigned int | getElementCount () const |
Get the count of elements processed so far. More... | |
bool | getSawErrors () const |
Did the XML parser see any errors? More... | |
unsigned int | getSpaceCount () const |
Get the count of spaces processed so far. More... | |
virtual void | ignorableWhitespace (const XMLCh *const chars, const unsigned int length) |
virtual void | resetDocument () |
virtual void | setNameSpace (const std::string &nms) |
virtual void | setUserNS (bool userns) |
virtual void | warning (const SAXParseException &exception) |
~DDLSAX2Handler () | |
Private Attributes | |
DDCompactView & | cpv_ |
bool | doValidation_ |
std::vector< std::string > | files_ |
std::string | schemaLocation_ |
std::vector< std::string > | urls_ |
Additional Inherited Members | |
Public Types inherited from DDLSAX2Handler | |
typedef XERCES_CPP_NAMESPACE::Attributes | Attributes |
typedef XERCES_CPP_NAMESPACE::SAXParseException | SAXParseException |
Protected Attributes inherited from DDLSAX2Handler | |
unsigned int | attrCount_ |
unsigned int | characterCount_ |
unsigned int | elementCount_ |
std::string | nmspace_ |
bool | sawErrors_ |
unsigned int | spaceCount_ |
bool | userNS_ |
DDLSAX2ConfigHandler is the handler for the configuration file.
begin: Mon Oct 22 2001 email: case@ ucdh ep.uc davi s.edu
This handler is used by the DDLParser to process configuration files.
Definition at line 30 of file DDLSAX2ConfigHandler.h.
DDLSAX2ConfigHandler::DDLSAX2ConfigHandler | ( | DDCompactView & | cpv | ) |
Definition at line 23 of file DDLSAX2ConfigHandler.cc.
DDLSAX2ConfigHandler::~DDLSAX2ConfigHandler | ( | void | ) |
Definition at line 31 of file DDLSAX2ConfigHandler.cc.
const bool DDLSAX2ConfigHandler::doValidation | ( | void | ) | const |
Definition at line 140 of file DDLSAX2ConfigHandler.cc.
References doValidation_.
Referenced by FIPConfiguration::doValidation().
const std::vector< std::string > & DDLSAX2ConfigHandler::getFileNames | ( | void | ) | const |
Definition at line 122 of file DDLSAX2ConfigHandler.cc.
References files_.
Referenced by FIPConfiguration::readConfig().
const std::string DDLSAX2ConfigHandler::getSchemaLocation | ( | void | ) | const |
Definition at line 134 of file DDLSAX2ConfigHandler.cc.
References schemaLocation_.
Referenced by FIPConfiguration::getSchemaLocation().
const std::vector< std::string > & DDLSAX2ConfigHandler::getURLs | ( | void | ) | const |
Definition at line 128 of file DDLSAX2ConfigHandler.cc.
References urls_.
Referenced by FIPConfiguration::readConfig().
|
virtual |
bad, just testing...
Reimplemented from DDLSAX2Handler.
Definition at line 47 of file DDLSAX2ConfigHandler.cc.
References DDLSAX2Handler::attrCount_, cpv_, DCOUT, DCOUT_V, doValidation_, DDLSAX2Handler::elementCount_, MillePedeFileConverter_cfg::fileName, files_, i, DDI::Singleton< I >::instance(), mergeVDriftHistosByStation::name, dbtoconf::root, schemaLocation_, DDCompactView::setRoot(), AlCaHLTBitMon_QueryRunRegistry::string, relmon_authenticated_wget::url, and urls_.
|
private |
Definition at line 57 of file DDLSAX2ConfigHandler.h.
Referenced by startElement().
|
private |
Definition at line 53 of file DDLSAX2ConfigHandler.h.
Referenced by doValidation(), and startElement().
|
private |
Definition at line 54 of file DDLSAX2ConfigHandler.h.
Referenced by getFileNames(), and startElement().
|
private |
Definition at line 56 of file DDLSAX2ConfigHandler.h.
Referenced by getSchemaLocation(), and startElement().
|
private |
Definition at line 55 of file DDLSAX2ConfigHandler.h.
Referenced by getURLs(), and startElement().