Package org.xmldb.common.xml.queries.xt
Class XObjectImpl
- java.lang.Object
-
- org.xmldb.common.xml.queries.xt.XObjectImpl
-
- All Implemented Interfaces:
java.io.Serializable
,XObject
public final class XObjectImpl extends java.lang.Object implements XObject
- Version:
- $Revision: 1.1 $ $Date: 2004/05/30 11:54:45 $
- Author:
- SMB
- See Also:
- Serialized Form
-
-
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
Constructors Constructor Description XObjectImpl(java.util.Enumeration e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
Method Detail
-
getType
public int getType() throws java.lang.Exception
-
bool
public boolean bool() throws java.lang.Exception
Description copied from interface:XObject
Cast result object to a boolean.
-
num
public double num() throws java.lang.Exception
Description copied from interface:XObject
Cast result object to a number.
-
str
public java.lang.String str() throws java.lang.Exception
Description copied from interface:XObject
Cast result object to a string.
-
nodeset
public org.w3c.dom.NodeList nodeset() throws java.lang.Exception
Description copied from interface:XObject
Cast result object to a nodelist.
-
-