public interface IIndexedNode<T extends Node>
Modifier and Type | Method and Description |
---|---|
void |
addItem(String name,
T item)
Adds a child item.
|
T |
deleteItem(String name)
Deletes a child item by name and returns the deleted child or undefined if there wasn't one.
|
T |
getItem(String name)
Gets a single item (indexed child) by name.
|
List<String> |
getItemNames()
Gets a list of the names of all indexed children.
|
List<T> |
getItems()
Returns an array of all the child items.
|
Copyright © 2019 Red Hat. All rights reserved.