Public Member Functions | |
Attribute | getAttribute (String name) |
boolean | hasAttribute (String name) |
Enumeration | elements () |
Enumeration | elements (String name) |
String | getName () |
Element | getParent () |
String | getContents () |
String | toString () |
Package Functions | |
void | addAttribute (String key, String value) |
void | addContents (Object o) |
Element (String name) |
|
Returns an enumeration over the subelements of this element that have the given name. |
|
Returns an enumeration over the mixed contents of this element - of type String or Element. |
|
Returns the attribute given a name. |
|
Returns a textual representation of the contents of this element. |
|
Returns the name of this element. |
|
Returns the parent element of this element. If no parent then null is returned. |
|
Returns whether an attribute of a given name exists. |
|
Returns a textual representation of this element. |