|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::xml::libxmldom::LibXMLAttr Class Reference#include <LibXMLAttr.h>
Inheritance diagram for acdk::xml::libxmldom::LibXMLAttr:
List of all members.
Constructor & Destructor Documentation
acdk::xml::libxmldom::LibXMLAttr::LibXMLAttr |
( |
xmlNodePtr |
np, |
|
|
bool |
ownsPtr = false |
|
) |
[inline] |
|
Member Function Documentation
RString acdk::xml::libxmldom::LibXMLAttr::getName |
( |
|
) |
[inline, virtual] |
|
|
Returns the name of this attribute.
If Node.localName is different from null , this attribute is a qualified name.
Implements org::w3c::dom::Attr. |
bool acdk::xml::libxmldom::LibXMLAttr::getSpecified |
( |
|
) |
[virtual] |
|
|
True if this attribute was explicitly given a value in the instance document, false otherwise.
If the application changed the value of this attribute node (even if it ends up having the same value as the default value) then it is set to true . The implementation may handle attributes with default values from other schemas similarly but applications should use Document.normalizeDocument() to guarantee this information is up-to-date.
Implements org::w3c::dom::Attr. |
RString acdk::xml::libxmldom::LibXMLAttr::getValue |
( |
|
) |
[virtual] |
|
|
On retrieval, the value of the attribute is returned as a string.
Character and general entity references are replaced with their values. See also the method getAttribute on the Element interface.
On setting, this creates a Text node with the unparsed contents of the string, i.e. any characters that an XML processor would recognize as markup are instead treated as literal text. See also the method Element.setAttribute() .
Some specialized implementations, such as some [SVG 1.1] implementations, may do normalization automatically, even after mutation; in such case, the value on retrieval may differ from the value on setting.
Implements org::w3c::dom::Attr. |
|
On retrieval, the value of the attribute is returned as a string.
Character and general entity references are replaced with their values. See also the method getAttribute on the Element interface.
On setting, this creates a Text node with the unparsed contents of the string, i.e. any characters that an XML processor would recognize as markup are instead treated as literal text. See also the method Element.setAttribute() .
Some specialized implementations, such as some [SVG 1.1] implementations, may do normalization automatically, even after mutation; in such case, the value on retrieval may differ from the value on setting. - Exceptions:
-
DOMException | NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly. |
Implements org::w3c::dom::Attr. |
RString acdk::xml::libxmldom::LibXMLAttr::toString |
( |
|
) |
[inline, virtual] |
|
|
|