|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ucl.xpath.Focus
set the focus from a result sequence
Constructor Summary | |
Focus(ResultSequence rs)
Sets the _rs to rs and context position to 1. |
Method Summary | |
boolean |
advance_cp()
Checks to see if possible to advance rs. |
AnyType |
context_item()
Retrieves previous item from current context position. |
int |
last()
returns the position of the last item in rs. |
int |
position()
returns an integer of the current position. |
void |
set_position(int p)
sets the position. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Focus(ResultSequence rs)
rs
- is a ResultSequence and is set to _rs.Method Detail |
public AnyType context_item()
public boolean advance_cp()
public int position()
public int last()
public void set_position(int p)
p
- is the position that is set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |