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.


Method Index

 o add(MarkupNode)
Appends the given MarkupNode to end of the list.
 o add(MarkupNodeList)
Concatenates the given MarkupNodeList to the end of this.
 o getMarkupNode(int)
Returns the MarkupNode at the given index.
 o remove(MarkupNode)
Removes the given MarkupNode from the list.
 o size()
The size of the list.

Methods

 o add
 public abstract void add(MarkupNode node)
Appends the given MarkupNode to end of the list.

Parameters:
node - the MarkupNode to be appended.
 o add
 public abstract void add(MarkupNodeList nodes)
Concatenates the given MarkupNodeList to the end of this. this list.

Parameters:
nodes - the additional MarkupNodeList.
 o size
 public abstract int size()
The size of the list.

Returns:
The number of MarkupNodes in this list.
 o 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.
 o 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