22 #if !defined(XERCESC_INCLUDE_GUARD_DOMELEMENT_HPP)
23 #define XERCESC_INCLUDE_GUARD_DOMELEMENT_HPP
25 #include <xercesc/util/XercesDefs.hpp>
28 XERCES_CPP_NAMESPACE_BEGIN
116 virtual const XMLCh * getTagName()
const = 0;
126 virtual const XMLCh * getAttribute(
const XMLCh *name)
const = 0;
136 virtual DOMAttr * getAttributeNode(
const XMLCh *name)
const = 0;
148 virtual DOMNodeList * getElementsByTagName(
const XMLCh *name)
const = 0;
175 virtual void setAttribute(
const XMLCh *name,
176 const XMLCh *value) = 0;
230 virtual void removeAttribute(
const XMLCh *name) = 0;
246 virtual const XMLCh * getAttributeNS(
const XMLCh *namespaceURI,
247 const XMLCh *localName)
const = 0;
288 virtual void setAttributeNS(
const XMLCh *namespaceURI,
289 const XMLCh *qualifiedName,
const XMLCh *value) = 0;
305 virtual void removeAttributeNS(
const XMLCh *namespaceURI,
306 const XMLCh *localName) = 0;
319 virtual DOMAttr * getAttributeNodeNS(
const XMLCh *namespaceURI,
320 const XMLCh *localName)
const = 0;
360 virtual DOMNodeList * getElementsByTagNameNS(
const XMLCh *namespaceURI,
361 const XMLCh *localName)
const = 0;
373 virtual bool hasAttribute(
const XMLCh *name)
const = 0;
387 virtual bool hasAttributeNS(
const XMLCh *namespaceURI,
388 const XMLCh *localName)
const = 0;
414 virtual void setIdAttribute(
const XMLCh* name,
bool isId) = 0;
435 virtual void setIdAttributeNS(
const XMLCh* namespaceURI,
const XMLCh* localName,
bool isId) = 0;
456 virtual void setIdAttributeNode(
const DOMAttr *idAttr,
bool isId) = 0;
466 virtual const DOMTypeInfo* getSchemaTypeInfo()
const = 0;
484 virtual DOMElement * getFirstElementChild()
const = 0;
492 virtual DOMElement * getLastElementChild()
const = 0;
500 virtual DOMElement * getPreviousElementSibling()
const = 0;
508 virtual DOMElement * getNextElementSibling()
const = 0;
519 virtual XMLSize_t getChildElementCount()
const = 0;
523 XERCES_CPP_NAMESPACE_END
The DOMNodeList interface provides the abstraction of an ordered collection of nodes.
Definition: DOMNodeList.hpp:45
DOMElement(const DOMElement &other)
Definition: DOMElement.hpp:74
The DOMTypeInfo interface represent a type used by DOMElement or DOMAttr nodes, specified in the sche...
Definition: DOMTypeInfo.hpp:35
virtual ~DOMElement()
Destructor.
Definition: DOMElement.hpp:96
DOMElement()
Definition: DOMElement.hpp:73
The DOMNode interface is the primary datatype for the entire Document Object Model.
Definition: DOMNode.hpp:139
By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...
Definition: DOMElement.hpp:66
The DOMAttr class refers to an attribute of an XML element.
Definition: DOMAttr.hpp:57