|
Qizx/open API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
XQuery abstract Item representation.
The type of the item (XQItemType) is returned by method getType().
Specialized methods getXXX() allow to retrieve or convert the actual item value according to the type. An exception (XQTypeException) is raised if the conversion is not possible.
Field Summary | |
static int |
INCOMPARABLE
Returned by method compareTo when the two values are not comparable. |
Method Summary | |
int |
compareTo(XQItem that,
java.text.Collator collator,
int implicitTimeZone)
Compares two items. |
boolean |
deepEqual(XQItem item,
java.text.Collator collator)
Deep equality of two items. |
boolean |
getBoolean()
Gets the item as a boolean value. |
java.math.BigDecimal |
getDecimal()
Gets the item as a decimal value. |
double |
getDouble()
Gets the item as a double value. |
float |
getFloat()
Gets the item as a float value. |
long |
getInteger()
Gets the item as a integer value. |
XQNode |
getNode()
Gets the item as a Node value. |
java.lang.String |
getString()
Gets the item as a String value. |
XQItemType |
getType()
Returns the type description. |
boolean |
isNode()
Tests whether the item is a Node. |
Field Detail |
public static final int INCOMPARABLE
Method Detail |
public XQItemType getType() throws XQEvalException
XQEvalException
public boolean getBoolean() throws XQEvalException
XQEvalException
public float getFloat() throws XQEvalException
XQEvalException
public double getDouble() throws XQEvalException
XQEvalException
public long getInteger() throws XQEvalException
XQEvalException
public java.math.BigDecimal getDecimal() throws XQEvalException
XQEvalException
public java.lang.String getString() throws XQEvalException
XQEvalException
public XQNode getNode() throws XQEvalException
XQEvalException
public boolean isNode()
public int compareTo(XQItem that, java.text.Collator collator, int implicitTimeZone) throws XQEvalException
XQEvalException
public boolean deepEqual(XQItem item, java.text.Collator collator) throws XQEvalException
XQEvalException
|
© 2005 Axyana Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |