|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::xml::dom::XMLAttr Class Reference#include <XMLAttr.h>
Inheritance diagram for acdk::xml::dom::XMLAttr:
List of all members.
Detailed Description
API: org.w3c.dom<br>.
- Author:
- Roger Rene Kommer
- Version:
- Revision
- 1.8
- Date:
- Date
- 2005/02/05 10:45:36
Constructor & Destructor Documentation
acdk::xml::dom::XMLAttr::XMLAttr |
( |
IN(RString) |
name, |
|
|
bool |
specified = false, |
|
|
IN(RString) |
value = |
|
) |
[inline] |
|
Member Function Documentation
virtual RString acdk::xml::dom::XMLAttr::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. |
virtual bool acdk::xml::dom::XMLAttr::getSpecified |
( |
|
) |
[inline, 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. |
virtual RString acdk::xml::dom::XMLAttr::getValue |
( |
|
) |
[inline, 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. |
virtual void acdk::xml::dom::XMLAttr::setValue |
( |
IN(RString) |
value |
) |
[inline, 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. - Exceptions:
-
DOMException | NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly. |
Implements org::w3c::dom::Attr. |
RString acdk::xml::dom::XMLAttr::toString |
( |
|
) |
[inline, virtual] |
|
Member Data Documentation
|
|