|
Qizx/Open v0.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.xfra.qizxopen.xquery.dt.BaseValue | +--net.xfra.qizxopen.xquery.Value.Empty
The empty sequence.
Nested Class Summary |
Nested classes inherited from class net.xfra.qizxopen.xquery.Value |
Value.Empty |
Field Summary |
Fields inherited from interface net.xfra.qizxopen.xquery.Value |
empty |
Fields inherited from interface net.xfra.qizxopen.xquery.Item |
INCOMPARABLE |
Constructor Summary | |
Value.Empty()
|
Method Summary | |
Item |
asAtom()
Gets the current item with atomization. |
Item |
asItem()
Gets the current item (undefined result if end of sequence reached). |
Value |
bornAgain()
Returns a new version of the sequence in its initial state. |
int |
compareTo(Item that,
java.text.Collator c,
int implicitTimeZone)
Compares two items. |
ItemType |
getType()
Returns the type description. |
boolean |
isNode()
Tests whether the item is a Node. |
boolean |
next()
Attempts to get the next atomic item. |
Methods inherited from class net.xfra.qizxopen.xquery.dt.BaseValue |
asBoolean, asDecimal, asDouble, asFloat, asInteger, asNode, asString, deepEqual, nextCollection, quickCount, setLazy, worthExpanding |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Value.Empty()
Method Detail |
public ItemType getType()
Item
getType
in interface Item
getType
in class net.xfra.qizxopen.xquery.dt.BaseValue
public boolean next()
Value
public Value bornAgain()
Value
Value.next()
method), this is not actually true. Therefore when
a value is used several times (in particular the value of a variable), there is a
need for "regeneration". NOTE: this needs not be a deep copy, because only the state of the iterator is concerned, not the underlying data.
public boolean isNode()
Item
isNode
in interface Item
isNode
in class net.xfra.qizxopen.xquery.dt.BaseValue
public Item asItem() throws TypeException
Value
TypeException
public Item asAtom() throws TypeException
Value
asAtom
in interface Value
asAtom
in class net.xfra.qizxopen.xquery.dt.BaseValue
TypeException
public int compareTo(Item that, java.text.Collator c, int implicitTimeZone)
Item
compareTo
in interface Item
compareTo
in class net.xfra.qizxopen.xquery.dt.BaseValue
|
Copyright Xavier FRANC 2003-2004 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |