|
XML:DB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xmldb.common.xml.queries.xt.XObjectImpl
public final class XObjectImpl
Field Summary |
---|
Fields inherited from interface org.xmldb.common.xml.queries.XObject |
---|
CLASS_BOOLEAN, CLASS_NODESET, CLASS_NULL, CLASS_NUMBER, CLASS_RTREEFRAG, CLASS_STRING, CLASS_UNKNOWN |
Constructor Summary | |
---|---|
XObjectImpl(java.util.Enumeration e)
|
Method Summary | |
---|---|
boolean |
bool()
Cast result object to a boolean. |
int |
getType()
|
org.w3c.dom.NodeList |
nodeset()
Cast result object to a nodelist. |
double |
num()
Cast result object to a number. |
org.w3c.dom.DocumentFragment |
rtree()
Cast result object to a result tree fragment. |
java.lang.String |
str()
Cast result object to a string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XObjectImpl(java.util.Enumeration e) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
Method Detail |
---|
public int getType() throws java.lang.Exception
getType
in interface XObject
java.lang.Exception
public boolean bool() throws java.lang.Exception
XObject
bool
in interface XObject
org.xml.sax.SAXException
- If any error occurs.
java.lang.Exception
public double num() throws java.lang.Exception
XObject
num
in interface XObject
org.xml.sax.SAXException
- If any error occurs.
java.lang.Exception
public java.lang.String str() throws java.lang.Exception
XObject
str
in interface XObject
java.lang.Exception
public org.w3c.dom.NodeList nodeset() throws java.lang.Exception
XObject
nodeset
in interface XObject
org.xml.sax.SAXException
- If any error occurs.
java.lang.Exception
public org.w3c.dom.DocumentFragment rtree()
XObject
rtree
in interface XObject
|
XML:DB API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |