|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weblogic.apache.xalan.xpath.xml.NodeVector
A very simple table that stores a list of Nodes.
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Field Summary | |
protected org.w3c.dom.Node[] |
m_map
|
Constructor Summary | |
NodeVector()
Default constructor. |
|
NodeVector(int blocksize)
Construct a NodeVector, using the given block size. |
Method Summary | |
void |
addElement(org.w3c.dom.Node value)
Append a Node onto the vector. |
void |
appendNodes(NodeVector nodes)
Append the nodes to the list. |
boolean |
contains(org.w3c.dom.Node s)
Tell if the table contains the given node. |
org.w3c.dom.Node |
elementAt(int i)
Get the nth element. |
int |
indexOf(org.w3c.dom.Node elem)
Searches for the first occurence of the given argument, beginning the search at index, and testing for equality using the equals method. |
int |
indexOf(org.w3c.dom.Node elem,
int index)
Searches for the first occurence of the given argument, beginning the search at index, and testing for equality using the equals method. |
void |
insertElementAt(org.w3c.dom.Node value,
int at)
Inserts the specified node in this vector at the specified index. |
void |
removeAllElements()
Inserts the specified node in this vector at the specified index. |
boolean |
removeElement(org.w3c.dom.Node s)
Removes the first occurrence of the argument from this vector. |
void |
removeElementAt(int i)
Deletes the component at the specified index. |
void |
setElementAt(org.w3c.dom.Node node,
int index)
Sets the component at the specified index of this vector to be the specified object. |
int |
size()
Get the length of the list. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected org.w3c.dom.Node[] m_map
Constructor Detail |
public NodeVector()
public NodeVector(int blocksize)
Method Detail |
public final int size()
public final void addElement(org.w3c.dom.Node value)
public final void insertElementAt(org.w3c.dom.Node value, int at)
public final void appendNodes(NodeVector nodes)
public final void removeAllElements()
public final boolean removeElement(org.w3c.dom.Node s)
public final void removeElementAt(int i)
public final void setElementAt(org.w3c.dom.Node node, int index)
public final org.w3c.dom.Node elementAt(int i)
public final boolean contains(org.w3c.dom.Node s)
public final int indexOf(org.w3c.dom.Node elem, int index)
public final int indexOf(org.w3c.dom.Node elem)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs60 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |