Functions | |
DOMElement * | castNode2Element (DOMNode *node) |
const DOMElement * | castNode2Element (const DOMNode *node) |
string | safeXMLChToString (const XMLCh *src) |
string | safeGetAttribute (const DOMNode *node, const string &attr) |
DOMBuilder * | getParser () |
DOMElement * | findElement (DOMElement *root, const string elementName, const string &attribute, const string &value) |
DOMElement * | findElementWithNumericAttr (DOMElement *root, const string elementName, const string &attribute, long value) |
string | getNodeText (DOMNode *elem) |
int | getNumberFromXmlAttr (DOMElement *element, const string field, int base) |
DECLARE_EXCEPTION (XmlUtilsException) | |
DECLARE_EXCEPTION_EX (NotFound, xmlutils, XmlUtilsException) | |
DECLARE_EXCEPTION_EX (Invalid, xmlutils, XmlUtilsException) | |
DEFINE_EXCEPTION_EX (NotFoundImpl, xmlutils, NotFound) | |
DEFINE_EXCEPTION_EX (InvalidImpl, xmlutils, Invalid) | |
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * | castNode2Element (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *node) |
const XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * | castNode2Element (const XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *node) |
std::string | safeGetAttribute (const XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *node, const std::string &attr) |
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * | findElement (XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *root, const std::string elementName, const std::string &attribute, const std::string &value) |
XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * | findElementWithNumericAttr (XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *root, const std::string elementName, const std::string &attribute, long value) |
std::string | getNodeText (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *elem) |
int | getNumberFromXmlAttr (XERCES_CPP_NAMESPACE_QUALIFIER DOMElement *element, const std::string field, int base) |
|
|
|
|
|
Definition at line 52 of file XmlUtils.cpp. |
|
Definition at line 35 of file XmlUtils.cpp. Referenced by findElement(), findElementWithNumericAttr(), and safeGetAttribute(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 116 of file XmlUtils.cpp. References castNode2Element(), safeGetAttribute(), and X. Referenced by smbios::getStringForType(), smbios::getTypeForString(), SmbiosItemXml::streamify(), testSmbiosXml::testConstructionOffset(), testSmbiosXml::testIdByte(), testSmbiosXml::testIsDell(), testSmbiosXml::testOutOfBounds(), and testSmbiosXml::testVariousAccessors(). |
|
|
|
Definition at line 155 of file XmlUtils.cpp. References castNode2Element(), safeGetAttribute(), and X. Referenced by smbios::getStringForType(), and SmbiosItemXml::streamify(). |
|
|
|
Definition at line 193 of file XmlUtils.cpp. References safeXMLChToString(). Referenced by testSmbiosXml::testIdByte(), testSmbiosXml::testIsDell(), and testSmbiosXml::testVariousAccessors(). |
|
|
|
Definition at line 213 of file XmlUtils.cpp. References safeGetAttribute(). |
|
Definition at line 95 of file XmlUtils.cpp. Referenced by testSmbiosXml::setUp(), and SmbiosTableXml::setXmlFilePath(). |
|
|
|
Definition at line 82 of file XmlUtils.cpp. References castNode2Element(), safeXMLChToString(), and X. Referenced by findElement(), findElementWithNumericAttr(), getNumberFromXmlAttr(), smbios::getStringForType(), smbios::getTypeForString(), smbios::printStructureField(), SmbiosItemXml::streamify(), testSmbiosXml::testConstructionOffset(), testSmbiosXml::testOutOfBounds(), and smbios::verifyElementAttr(). |
|
Definition at line 69 of file XmlUtils.cpp. Referenced by getNodeText(), safeGetAttribute(), and smbios::validateSmbiosXmlDoc(). |