BOSS 7.0.5
BESIII Offline Software System
|
#include <XmlParser.h>
Public Member Functions | |
XmlParser (bool throwErrors=false) | |
void | doSchema (bool doit) |
Call this method to turn on schema processing (else it's off) | |
~XmlParser () | |
DOMDocument * | parse (const char *const filename, const std::string &docType=std::string("")) |
Parse an xml file, returning document node if successful. | |
DOMDocument * | parse (const std::string &buffer, const std::string &docType=std::string("")) |
Parse an xml file as a string, returning document node if successful. | |
void | reset () |
XmlParser (bool throwErrors=false) | |
void | doSchema (bool doit) |
Call this method to turn on schema processing (else it's off) | |
~XmlParser () | |
DOMDocument * | parse (const char *const filename, const std::string &docType=std::string("")) |
Parse an xml file, returning document node if successful. | |
DOMDocument * | parse (const std::string &buffer, const std::string &docType=std::string("")) |
Parse an xml file as a string, returning document node if successful. | |
void | reset () |
Definition at line 22 of file Calibration/xmlBase/xmlBase-00-00-03/xmlBase/XmlParser.h.
Definition at line 39 of file XmlParser.cxx.
xmlBase::XmlParser::~XmlParser | ( | ) |
Definition at line 101 of file XmlParser.cxx.
xmlBase::XmlParser::~XmlParser | ( | ) |
void xmlBase::XmlParser::doSchema | ( | bool | doit | ) |
Call this method to turn on schema processing (else it's off)
Definition at line 92 of file XmlParser.cxx.
Referenced by xmlBase::IFile::IFile(), and rdbModel::XercesBuilder::parseInput().
void xmlBase::XmlParser::doSchema | ( | bool | doit | ) |
Call this method to turn on schema processing (else it's off)
DOMDocument * xmlBase::XmlParser::parse | ( | const char *const | filename, |
const std::string & | docType = std::string("") |
||
) |
Parse an xml file, returning document node if successful.
Definition at line 108 of file XmlParser.cxx.
Referenced by xmlBase::IFile::IFile(), main(), rdbModel::MysqlConnection::open(), CalibXmlCnvSvc::parse(), xmlBase::DocMan::parse(), rdbModel::XercesBuilder::parseInput(), and calibUtil::StripSrv::StripSrv().
DOMDocument * xmlBase::XmlParser::parse | ( | const char *const | filename, |
const std::string & | docType = std::string("") |
||
) |
Parse an xml file, returning document node if successful.
DOMDocument * xmlBase::XmlParser::parse | ( | const std::string & | buffer, |
const std::string & | docType = std::string("") |
||
) |
Parse an xml file as a string, returning document node if successful.
Definition at line 180 of file XmlParser.cxx.
DOMDocument * xmlBase::XmlParser::parse | ( | const std::string & | buffer, |
const std::string & | docType = std::string("") |
||
) |
Parse an xml file as a string, returning document node if successful.
|
inline |
Reset the parser so it may be used to parse another document (note this destroys old DOM)
Definition at line 41 of file Calibration/xmlBase/xmlBase-00-00-03/xmlBase/XmlParser.h.
Referenced by xmlBase::DocMan::parse().
|
inline |
Reset the parser so it may be used to parse another document (note this destroys old DOM)
Definition at line 41 of file InstallArea/include/xmlBase/xmlBase/XmlParser.h.