|
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.dm.NodeSequenceBase
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 | |
NodeSequenceBase()
|
Method Summary | |
Item |
asAtom()
Gets the current item with atomization. |
boolean |
asBoolean()
Gets the item as a boolean value (optimisable). |
double |
asDouble()
Gets the item as a double value (optimisable). |
long |
asInteger()
Gets the item as a integer value (optimisable). |
Item |
asItem()
Gets the current item (undefined result if end of sequence reached). |
abstract Node |
asNode()
Gets the item as a Node value (optimisable). |
java.lang.String |
asString()
Gets the item as a String value (optimisable). |
int |
compareTo(Item that,
java.text.Collator collator,
int implicitTimeZone)
Compares two items. |
ItemType |
getType()
Returns the type description. |
boolean |
isNode()
Tests whether the item is a Node. |
Methods inherited from class net.xfra.qizxopen.xquery.dt.BaseValue |
asDecimal, asFloat, deepEqual, nextCollection, quickCount, setLazy, worthExpanding |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.xfra.qizxopen.xquery.Value |
bornAgain, next |
Constructor Detail |
public NodeSequenceBase()
Method Detail |
public ItemType getType()
Item
getType
in interface Item
getType
in class net.xfra.qizxopen.xquery.dt.BaseValue
public boolean isNode()
Item
isNode
in interface Item
isNode
in class net.xfra.qizxopen.xquery.dt.BaseValue
public abstract Node asNode() throws TypeException
Item
asNode
in interface Item
asNode
in class net.xfra.qizxopen.xquery.dt.BaseValue
TypeException
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 boolean asBoolean() throws TypeException
Item
asBoolean
in interface Item
asBoolean
in class net.xfra.qizxopen.xquery.dt.BaseValue
TypeException
public java.lang.String asString() throws TypeException
Item
asString
in interface Item
asString
in class net.xfra.qizxopen.xquery.dt.BaseValue
TypeException
public long asInteger() throws TypeException
Item
asInteger
in interface Item
asInteger
in class net.xfra.qizxopen.xquery.dt.BaseValue
TypeException
public double asDouble() throws TypeException
Item
asDouble
in interface Item
asDouble
in class net.xfra.qizxopen.xquery.dt.BaseValue
TypeException
public int compareTo(Item that, java.text.Collator collator, int implicitTimeZone) throws TypeException
Item
compareTo
in interface Item
compareTo
in class net.xfra.qizxopen.xquery.dt.BaseValue
TypeException
|
Copyright Xavier FRANC 2003-2004 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |