22 #if !defined(XERCESC_INCLUDE_GUARD_DOMATTR_HPP)
23 #define XERCESC_INCLUDE_GUARD_DOMATTR_HPP
25 #include <xercesc/util/XercesDefs.hpp>
28 XERCES_CPP_NAMESPACE_BEGIN
172 XERCES_CPP_NAMESPACE_END
The DOMAttr class refers to an attribute of an XML element.
Definition: DOMAttr.hpp:57
virtual bool isId() const =0
Returns whether this attribute is known to be of type ID or not.
DOMAttr(const DOMAttr &other)
Definition: DOMAttr.hpp:65
virtual void setValue(const XMLCh *value)=0
Sets the value of the attribute.
virtual const XMLCh * getName() const =0
Returns the name of this attribute.
virtual const DOMTypeInfo * getSchemaTypeInfo() const =0
Returns the type information associated with this attribute.
virtual ~DOMAttr()
Destructor.
Definition: DOMAttr.hpp:87
virtual bool getSpecified() const =0
Returns true if the attribute received its value explicitly in the XML document, or if a value was as...
virtual const XMLCh * getValue() const =0
Returns the value of the attribute.
DOMAttr()
Definition: DOMAttr.hpp:64
virtual DOMElement * getOwnerElement() const =0
The DOMElement node this attribute is attached to or null if this attribute is not in use.
By far the vast majority of objects (apart from text) that authors encounter when traversing a docume...
Definition: DOMElement.hpp:66
The DOMNode interface is the primary datatype for the entire Document Object Model.
Definition: DOMNode.hpp:139
The DOMTypeInfo interface represent a type used by DOMElement or DOMAttr nodes, specified in the sche...
Definition: DOMTypeInfo.hpp:36