Package org.xmldb.common.xml.queries.xt
Class XObjectImpl
java.lang.Object
org.xmldb.common.xml.queries.xt.XObjectImpl
- All Implemented Interfaces:
Serializable
,XObject
- Version:
- $Revision: 1.1 $ $Date: 2004/05/30 11:54:45 $
- Author:
- SMB
- See Also:
-
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 -
Method Summary
-
Constructor Details
-
XObjectImpl
- Throws:
IllegalArgumentException
-
-
Method Details
-
getType
-
bool
Description copied from interface:XObject
Cast result object to a boolean.- Specified by:
bool
in interfaceXObject
- Returns:
- The Object casted to boolean
- Throws:
SAXException
- If any error occurs.Exception
-
num
Description copied from interface:XObject
Cast result object to a number.- Specified by:
num
in interfaceXObject
- Returns:
- The Object casted to double.
- Throws:
SAXException
- If any error occurs.Exception
-
str
Description copied from interface:XObject
Cast result object to a string. -
nodeset
Description copied from interface:XObject
Cast result object to a nodelist.- Specified by:
nodeset
in interfaceXObject
- Returns:
- The Object casted to NodeList.
- Throws:
SAXException
- If any error occurs.Exception
-
rtree
Description copied from interface:XObject
Cast result object to a result tree fragment.
-