|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.xsl.process.CurrentNodeList
An implementation of ContextNodeList used for holding sorted lists of nodes (sort in other than document order)
Nested Class Summary | |
protected class |
CurrentNodeList.Mark
|
Field Summary |
Fields inherited from interface com.novell.xml.xpath.ContextNodeList |
DOCUMENT_ORDER, REVERSE_DOCUMENT_ORDER, UNKNOWN_ORDER |
Constructor Summary | |
CurrentNodeList()
Create an empty CurrentNodeList. |
Method Summary | |
void |
add(Node node)
Add a node to the list. |
void |
clear()
Set the list to empty. |
int |
count()
Return a count of nodes in the context node list. |
Node |
first()
Return the first node in the context node list. |
ContextListMark |
getMark()
Return a marker to a position in a ContextNodeList. |
Node |
next()
Return a the subsequent node in the context node list after a call to first() or next() |
int |
order()
Return order in which nodes are returned from first()-next() |
int |
position()
Return the position of the last node returned by a call to first() or next() |
Node |
returnToMark(ContextListMark mark)
Go to a position in a ContextNodeList previously marked with getMark() |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CurrentNodeList()
Method Detail |
public void add(Node node)
node
- The node to add.public void clear()
public Node first()
first
in interface ContextNodeList
public Node next()
next
in interface ContextNodeList
public int count()
count
in interface ContextNodeList
public int position()
position
in interface ContextNodeList
public int order()
order
in interface ContextNodeList
public ContextListMark getMark()
getMark
in interface ContextNodeList
public Node returnToMark(ContextListMark mark)
returnToMark
in interface ContextNodeList
mark
- mark returned from getMark()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |