All Packages Class Hierarchy This Package Previous Next Index
Interface vnet.markup.MarkupNodeList
- public interface MarkupNodeList
A list of MarkupNodes, used for storing an Element's child MarkupNodes.
The list may be unordered.
Note: vnet.markup classes are not thread safe. Locking
must be performed by the application.
-
add(MarkupNode)
- Appends the given MarkupNode to end of the list.
-
add(MarkupNodeList)
- Concatenates the given MarkupNodeList to the end of this.
-
getMarkupNode(int)
- Returns the MarkupNode at the given index.
-
remove(MarkupNode)
- Removes the given MarkupNode from the list.
-
size()
- The size of the list.
add
public abstract void add(MarkupNode node)
- Appends the given MarkupNode to end of the list.
- Parameters:
- node - the MarkupNode to be appended.
add
public abstract void add(MarkupNodeList nodes)
- Concatenates the given MarkupNodeList to the end of this.
this list.
- Parameters:
- nodes - the additional MarkupNodeList.
size
public abstract int size()
- The size of the list.
- Returns:
- The number of MarkupNodes in this list.
getMarkupNode
public abstract MarkupNode getMarkupNode(int index) throws ArrayIndexOutOfBoundsException
- Returns the MarkupNode at the given index.
- Parameters:
- index - the location of the MarkupNode to be returned.
- Returns:
- The named MarkupNode or null if no match is found.
- Throws: ArrayIndexOutOfBoundsException
- if an invalid index was given.
remove
public abstract void remove(MarkupNode node)
- Removes the given MarkupNode from the list.
- Parameters:
- node - the MarkupNode to be removed.
All Packages Class Hierarchy This Package Previous Next Index