|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xalan.utils.NodeVector
**For internal use only** A very simple table that stores a list of Nodes.
Constructor Summary | |
NodeVector()
**For internal use only** Default constructor. |
|
NodeVector(int blocksize)
**For internal use only** Construct a NodeVector, using the given block size. |
Method Summary | |
void |
addElement(Node value)
**For internal use only** Append a Node onto the vector. |
void |
appendNodes(NodeVector nodes)
**For internal use only** Append the nodes to the list. |
java.lang.Object |
clone()
**For internal use only** Get a cloned LocPathIterator. |
boolean |
contains(Node s)
**For internal use only** Tell if the table contains the given node. |
Node |
elementAt(int i)
**For internal use only** Get the nth element. |
int |
indexOf(Node elem)
**For internal use only** Searches for the first occurence of the given argument, beginning the search at index, and testing for equality using the equals method. |
int |
indexOf(Node elem,
int index)
**For internal use only** Searches for the first occurence of the given argument, beginning the search at index, and testing for equality using the equals method. |
void |
insertElementAt(Node value,
int at)
**For internal use only** Inserts the specified node in this vector at the specified index. |
Node |
peepOrNull()
**For internal use only** Special purpose method for TransformerImpl, pushElemTemplateElement. |
Node |
peepTail()
**For internal use only** Special purpose method for TransformerImpl, pushElemTemplateElement. |
Node |
peepTailSub1()
**For internal use only** Special purpose method for TransformerImpl, pushElemTemplateElement. |
Node |
pop()
**For internal use only** Pop a node from the tail of the vector and return the result. |
void |
popPair()
**For internal use only** Special purpose method for TransformerImpl, pushElemTemplateElement. |
void |
popQuick()
**For internal use only** Pop a node from the tail of the vector. |
void |
push(Node value)
**For internal use only** Append a Node onto the vector. |
void |
pushPair(Node v1,
Node v2)
**For internal use only** Special purpose method for TransformerImpl, pushElemTemplateElement. |
void |
removeAllElements()
**For internal use only** Inserts the specified node in this vector at the specified index. |
boolean |
removeElement(Node s)
**For internal use only** Removes the first occurrence of the argument from this vector. |
void |
removeElementAt(int i)
**For internal use only** Deletes the component at the specified index. |
void |
setElementAt(Node node,
int index)
**For internal use only** Sets the component at the specified index of this vector to be the specified object. |
void |
setTail(Node n)
**For internal use only** Special purpose method for TransformerImpl, pushElemTemplateElement. |
void |
setTailSub1(Node n)
**For internal use only** Special purpose method for TransformerImpl, pushElemTemplateElement. |
int |
size()
**For internal use only** Get the length of the list. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public NodeVector()
public NodeVector(int blocksize)
Method Detail |
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
public int size()
public void addElement(Node value)
public final void push(Node value)
public final Node pop()
public final void popQuick()
public final Node peepOrNull()
public final void pushPair(Node v1, Node v2)
public final void popPair()
public final void setTail(Node n)
public final void setTailSub1(Node n)
public final Node peepTail()
public final Node peepTailSub1()
public void insertElementAt(Node value, int at)
public void appendNodes(NodeVector nodes)
public void removeAllElements()
public boolean removeElement(Node s)
public void removeElementAt(int i)
public void setElementAt(Node node, int index)
public Node elementAt(int i)
public boolean contains(Node s)
public int indexOf(Node elem, int index)
public int indexOf(Node elem)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |