## Uses of Interface
org.zkoss.idom.Item

- Packages that use Item
  Package | Description
  --- | ---
  org.zkoss.idom |
  org.zkoss.idom.impl |
  org.zkoss.idom.input |

- - ### Uses of Item in org.zkoss.idom

    Subinterfaces of Item in org.zkoss.idom
    Modifier and Type | Interface | Description
    --- | --- | ---
    `interface` | `Group` | Represents an item might have children.

    Classes in org.zkoss.idom that implement Item
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `Attribute` | The iDOM attribute.
    `class` | `Binary` | The binary item.
    `class` | `CData` | The iDOM CDATA.
    `class` | `Comment` | The iDOM Comment.
    `class` | `DocType` | The iDOM DocType.
    `class` | `Document` | Represents Document which is also W3C/DOM's document, i.e., org.w3c.dom.Document.
    `class` | `Element` | The iDOM element.
    `class` | `EntityReference` | The iDOM entity reference.
    `class` | `ProcessingInstruction` | The iDOM processing instruction.
    `class` | `Text` | The iDOM Text.

    Fields in org.zkoss.idom declared as Item
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected Item` | Attribute.`_owner` | The owner item.

    Methods in org.zkoss.idom that return Item
    Modifier and Type | Method | Description
    --- | --- | ---
    `Item` | Attribute.`detach()` | Detach the attribute from its owner, if any.
    `Item` | Item.`detach()` | Detach this item from its parent.
    `Item` | Attribute.`getOwner()` | Gets the item that owns this attribute.

    Methods in org.zkoss.idom that return types with arguments of type Item
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.List<Item>` | Group.`detachChildren()` | Detaches all children and returns them in a list.
    `java.util.List<Item>` | Group.`getChildren()` | Gets all children.
    `protected java.util.List<Item>` | Document.`newChildren()` |

    Methods in org.zkoss.idom with parameters of type Item
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | Document.ChildArray.`onAdd​(Item newElement, Item followingElement)` |
    `protected void` | Document.ChildArray.`onRemove​(Item item)` |
    `protected void` | Document.ChildArray.`onSet​(Item newElement, Item replaced)` |
    `void` | Attribute.`setOwner​(Item owner)` | Sets the item that owns this attribute.
    `void` | Attribute.`setParent​(Item parent)` |

  - ### Uses of Item in org.zkoss.idom.impl

    Classes in org.zkoss.idom.impl that implement Item
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `AbstractGroup` | A semi-implemented item for group.
    `class` | `AbstractItem` | A semi-implemented item for leaf vertices.
    `class` | `AbstractTextual` | Represents a textual item.

    Fields in org.zkoss.idom.impl with type parameters of type Item
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected java.util.List<Item>` | AbstractGroup.`_children` | The list of the children.

    Methods in org.zkoss.idom.impl that return Item
    Modifier and Type | Method | Description
    --- | --- | ---
    `Item` | AbstractItem.`detach()` |

    Methods in org.zkoss.idom.impl that return types with arguments of type Item
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.List<Item>` | AbstractGroup.`detachChildren()` |
    `java.util.List<Item>` | AbstractGroup.`getChildren()` |
    `protected java.util.List<Item>` | AbstractGroup.`newChildren()` | Creates a list to hold child vertices.

    Methods in org.zkoss.idom.impl with parameters of type Item
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | AbstractGroup.ChildArray.`onAdd​(Item newElement, Item followingElement)` |
    `protected void` | AbstractGroup.ChildArray.`onRemove​(Item item)` |
    `protected void` | AbstractGroup.ChildArray.`onSet​(Item newElement, Item replaced)` |

  - ### Uses of Item in org.zkoss.idom.input

    Methods in org.zkoss.idom.input with parameters of type Item
    Modifier and Type | Method | Description
    --- | --- | ---
    `protected void` | SAXHandler.`addToCurrentGroup​(Item vtx)` | Adds the item to the current group; also attach the locator.
    `protected void` | SAXHandler.`attachLocator​(Item vtx)` | Attaches the locator to the item.