18 #ifndef _LOG4CXX_HELPERS_XML_H 19 #define _LOG4CXX_HELPERS_XML_H 22 #pragma warning ( push ) 23 #pragma warning ( disable: 4231 4251 4275 4786 ) 27 #include <log4cxx/logstring.h> 28 #include <log4cxx/helpers/objectptr.h> 29 #include <log4cxx/helpers/object.h> 30 #include <log4cxx/helpers/exception.h> 38 typedef helpers::ObjectPtrT<XMLDOMNode> XMLDOMNodePtr;
41 typedef helpers::ObjectPtrT<XMLDOMDocument> XMLDOMDocumentPtr;
44 typedef helpers::ObjectPtrT<XMLDOMNodeList> XMLDOMNodeListPtr;
63 NOT_IMPLEMENTED_NODE = 0,
68 virtual XMLDOMNodeListPtr getChildNodes() = 0;
69 virtual XMLDOMNodeType getNodeType() = 0;
70 virtual XMLDOMDocumentPtr getOwnerDocument() = 0;
82 virtual LogString getTagName() = 0;
83 virtual LogString getAttribute(
const LogString& name) = 0;
97 virtual void load(
const File& fileName) = 0;
98 virtual XMLDOMElementPtr getDocumentElement() = 0;
99 virtual XMLDOMElementPtr getElementById(
const LogString& tagName,
100 const LogString& elementId) = 0;
118 virtual int getLength() = 0;
119 virtual XMLDOMNodePtr item(
int index) = 0;
126 #if defined(_MSC_VER) 127 #pragma warning ( pop ) 130 #endif // _LOG4CXX_HELPERS_XML_H
base class for java-like objects.
Definition: object.h:102
The XMLDOMDocument interface represents an entire XML document.
Definition: xml.h:93
The XMLDOMNodeList interface provides the abstraction of an ordered collection of nodes...
Definition: xml.h:114
An abstract representation of file and directory path names.
Definition: file.h:45
Definition: appender.h:33
RuntimeException is the parent class of those exceptions that can be thrown during the normal operati...
Definition: exception.h:53
The XMLDOMElement interface represents an element in an XML document.
Definition: xml.h:78
The XMLDOMNode interface is the primary datatype for the entire Document Object Model.
Definition: xml.h:57