An XML attribute object. This object is a subclass of NamedEntity. The fields in the NamedEntity superclass store the attribute name information.
According to the XmlPullParser documentation, if the parser is non-validating the type is always CDATA. At the time of this writing there were no validating XmlPullParsers, so the type field will always be CDATA, making this field rather useless.
Public Member Functions | |
Attribute (String name) | |
Attribute (String name, String prefix, String namespace) | |
String | getValue () |
void | setValue (String value) |
String | getAttrType () |
void | setAttrType (String ty) |
TreeNode | getChild () |
void | setChild (TreeNode child) |
Attribute | getNext () |
void | setNext (Attribute attr) |
Private Attributes | |
String | mValue = null |
attribute value | |
String | mType = null |
attribute type |
|
|
|
|
|
|
|
Reimplemented from treebuilder.TreeNode.
|
|
|
|
|
|
|
|
Reimplemented from treebuilder.TreeNode.
|
|
|
|
|
|
attribute type
Reimplemented from treebuilder.TreeNode.
|
|
attribute value
|