DDLSAX2ExpressionHandler is the first pass SAX2 Handler for XML files found in the configuration file. More...
#include <DDLSAX2ExpressionHandler.h>
Public Member Functions | |
DDLSAX2ExpressionHandler (DDCompactView &cpv) | |
void | endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) |
void | startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs) |
~DDLSAX2ExpressionHandler () | |
Public Member Functions inherited from DDLSAX2FileHandler | |
void | characters (const XMLCh *const chars, const unsigned int length) |
void | comment (const XMLCh *const chars, const unsigned int length) |
DDLSAX2FileHandler (DDCompactView &cpv) | |
void | dumpElementTypeCounter () |
This dumps some statistics on elements encountered in the file. More... | |
void | endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) |
void | init () |
virtual const std::string & | parent () const |
virtual const std::string & | self () const |
void | startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs) |
~DDLSAX2FileHandler () | |
Public Member Functions inherited from DDLSAX2Handler | |
DDLSAX2Handler () | |
virtual void | dumpStats (const std::string &fname) |
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 | |
std::string | pElementName |
Additional Inherited Members | |
Public Types inherited from DDLSAX2Handler | |
typedef XERCES_CPP_NAMESPACE::Attributes | Attributes |
typedef XERCES_CPP_NAMESPACE::SAXParseException | SAXParseException |
Protected Member Functions inherited from DDLSAX2FileHandler | |
void | createDDConstants () const |
creates all DDConstant from the evaluator which has been already 'filled' in the first scan of the documents More... | |
Protected Attributes inherited from DDLSAX2FileHandler | |
DDCompactView & | cpv_ |
std::map< std::string, int > | elementTypeCounter_ |
std::vector< size_t > | names_ |
std::vector< std::string > | namesMap_ |
DDLElementRegistry | xmlelems_ |
Protected Attributes inherited from DDLSAX2Handler | |
unsigned int | attrCount_ |
unsigned int | characterCount_ |
unsigned int | elementCount_ |
std::string | nmspace_ |
bool | sawErrors_ |
unsigned int | spaceCount_ |
bool | userNS_ |
DDLSAX2ExpressionHandler is the first pass SAX2 Handler for XML files found in the configuration file.
begin: Mon Feb 25, 2002 email: case@ ucdh ep.uc davi s.edu
This processes only ConstantsSection/Parameter elements so there is no need to make it as elaborate as the second pass parser.
Definition at line 26 of file DDLSAX2ExpressionHandler.h.
DDLSAX2ExpressionHandler::DDLSAX2ExpressionHandler | ( | DDCompactView & | cpv | ) |
Definition at line 28 of file DDLSAX2ExpressionHandler.cc.
DDLSAX2ExpressionHandler::~DDLSAX2ExpressionHandler | ( | void | ) |
Definition at line 32 of file DDLSAX2ExpressionHandler.cc.
|
virtual |
|
virtual |
Reimplemented from DDLSAX2Handler.
Definition at line 39 of file DDLSAX2ExpressionHandler.cc.
References DDLSAX2Handler::attrCount_, DCOUT_V, DDLSAX2Handler::elementCount_, DDLSAX2FileHandler::elementTypeCounter_, i, DDI::Singleton< I >::instance(), StrX::localForm(), DDLSAX2Handler::nmspace_, pElementName, ClhepEvaluator::set(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 48 of file DDLSAX2ExpressionHandler.h.
Referenced by startElement().