| Package | Description |
|---|---|
| org.zkoss.idom |
The iDOM representation of XML DOM tree.
|
| org.zkoss.idom.input |
SAX builder and factory for iDOM.
|
| Modifier and Type | Field and Description |
|---|---|
protected List<Attribute> |
Element._attrs
The attributes.
|
| Modifier and Type | Method and Description |
|---|---|
Attribute |
Attributable.getAttributeItem(String tname)
Gets the attribute with the tag name.
|
Attribute |
Element.getAttributeItem(String tname) |
Attribute |
Attributable.getAttributeItem(String namespace,
String name,
int mode)
Gets the first attribute that matches the specified criteria.
|
Attribute |
Element.getAttributeItem(String namespace,
String name,
int mode) |
Attribute |
Attributable.setAttribute(Attribute attr)
Adds the giving attribute.
|
Attribute |
Element.setAttribute(Attribute attr) |
Attribute |
Attributable.setAttributeValue(String tname,
String value)
Sets the value of the attribute with the giving tag name.
|
Attribute |
Element.setAttributeValue(String tname,
String value) |
| Modifier and Type | Method and Description |
|---|---|
List<Attribute> |
Attributable.getAttributeItems()
Returns all attributes of this object.
|
List<Attribute> |
Element.getAttributeItems() |
List<Attribute> |
Attributable.getAttributes(String namespace,
String name,
int mode)
Gets a list of attributes of the specified criteria.
|
List<Attribute> |
Element.getAttributes(String namespace,
String name,
int mode) |
protected List<Attribute> |
Element.newAttrArray()
Creates an empty list of attributes.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Element.AttrArray.onAdd(Attribute newElement,
Attribute followingElement) |
protected void |
Element.AttrArray.onRemove(Attribute item) |
protected void |
Element.AttrArray.onSet(Attribute newElement,
Attribute replaced) |
Attribute |
Attributable.setAttribute(Attribute attr)
Adds the giving attribute.
|
Attribute |
Element.setAttribute(Attribute attr) |
| Modifier and Type | Method and Description |
|---|---|
Attribute |
DefaultIDOMFactory.newAttribute(Namespace ns,
String lname,
String value) |
Attribute |
IDOMFactory.newAttribute(Namespace ns,
String lname,
String value)
Creates an Attribute with namespace.
|
Attribute |
DefaultIDOMFactory.newAttribute(String lname,
String value) |
Attribute |
IDOMFactory.newAttribute(String lname,
String value)
Creates an Attribute without namespace.
|
Copyright © 2018. All rights reserved.