BOSS 6.6.4.p01
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 () |
Definition at line 22 of file XmlParser.h.
Definition at line 39 of file XmlParser.cxx.
xmlBase::XmlParser::~XmlParser | ( | ) |
Definition at line 101 of file XmlParser.cxx.
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().
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 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.
|
inline |
Reset the parser so it may be used to parse another document (note this destroys old DOM)
Definition at line 41 of file XmlParser.h.
Referenced by xmlBase::DocMan::parse().