|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgalapi.Item
An Item is the a primitive datatype for a value.
Any XQuery value is an item or a list of items.
Items are either Atomic
or Node
.
ItemList
,
Atomic
,
Node
Field Summary | |
protected int |
item
|
Constructor Summary | |
protected |
Item()
|
protected |
Item(int native_item)
|
Method Summary | |
protected void |
finalize()
This method is used to release the item and the memory allocated to it. |
Atomic |
getAtomic()
XQuery Accessor: cast the item to an atomic value |
Attribute |
getAttribute()
XQuery Accessor: cast the item to an attribute |
Element |
getElement()
XQuery Accessor: cast the item to an element |
protected int |
getNativeItem()
|
Node |
getNode()
XQuery Accessor: cast the item to a node |
java.lang.String |
itemKind()
XQuery Accessor: get kind of item. |
protected static int |
nativeAtomicValue(int i)
|
protected static int |
nativeAttribute(int i)
|
protected static int |
nativeElement(int i)
|
protected static void |
nativeFree(int i)
|
protected static java.lang.String |
nativeItemKind(int i)
|
protected static int |
nativeNode(int i)
|
protected static java.lang.String |
nativeStringValue(int i)
|
protected void |
setItem(int i)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected int item
Constructor Detail |
protected Item()
protected Item(int native_item)
Method Detail |
public java.lang.String toString()
java.lang.RuntimeException
- when there is an internal Galax errorprotected void finalize() throws java.lang.Throwable
java.lang.Throwable
public java.lang.String itemKind()
public Node getNode()
public Atomic getAtomic()
public Element getElement()
public Attribute getAttribute()
protected static int nativeAtomicValue(int i)
protected static int nativeElement(int i)
protected static int nativeAttribute(int i)
protected static int nativeNode(int i)
protected static java.lang.String nativeStringValue(int i)
protected static java.lang.String nativeItemKind(int i)
protected void setItem(int i)
protected int getNativeItem()
protected static void nativeFree(int i)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |