|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 ContextNodeListpublic Node next()
next in interface ContextNodeListpublic int count()
count in interface ContextNodeListpublic int position()
position in interface ContextNodeListpublic int order()
order in interface ContextNodeListpublic ContextListMark getMark()
getMark in interface ContextNodeListpublic Node returnToMark(ContextListMark mark)
returnToMark in interface ContextNodeListmark - mark returned from getMark()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||