| Package | Description |
|---|---|
| org.cybergarage.xml |
XML parsing and manipulation utilities.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
AttributeList.getAttribute(int n)
Gets the attribute at the specified index.
|
Attribute |
Node.getAttribute(int index)
Gets the attribute at the specified index.
|
Attribute |
AttributeList.getAttribute(String name)
Gets the first attribute with the specified name.
|
Attribute |
Node.getAttribute(String name)
Gets the attribute with the specified name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Node.addAttribute(Attribute attr)
Adds an attribute to this node.
|
void |
Node.insertAttributeAt(Attribute attr,
int index)
Inserts an attribute at the specified index.
|
boolean |
Node.removeAttribute(Attribute attr)
Removes the specified attribute from this node.
|
void |
Attribute.set(Attribute otherAttr)
Copies the name and value from another attribute to this attribute.
|
| Constructor and Description |
|---|
Attribute(Attribute otherAttr)
Creates a copy of an existing Attribute.
|