Class XObjectImpl
java.lang.Object
org.xmldb.common.xml.queries.xalan2.XObjectImpl
- All Implemented Interfaces:
Serializable,XObject
Wrapper for the Xalan XObject and maybe other XPath implementation
specific things.
- 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
ConstructorsConstructorDescriptionXObjectImpl(org.apache.xpath.objects.XObject xobj) Creates a new XalanXObject. -
Method Summary
-
Constructor Details
-
XObjectImpl
Creates a new XalanXObject.- Parameters:
xobj- Xalans native XObject that should be wrapped.- Throws:
IllegalArgumentException- If the given XObject was null.
-
-
Method Details
-
getType
public int getType() -
bool
Description copied from interface:XObjectCast result object to a boolean.- Specified by:
boolin interfaceXObject- Returns:
- The Object casted to boolean
- Throws:
TransformerException
-
num
Description copied from interface:XObjectCast result object to a number.- Specified by:
numin interfaceXObject- Returns:
- The Object casted to double.
- Throws:
TransformerException
-
str
Description copied from interface:XObjectCast result object to a string. -
nodeset
Description copied from interface:XObjectCast result object to a nodelist.- Specified by:
nodesetin interfaceXObject- Returns:
- The Object casted to NodeList.
- Throws:
TransformerException
-
rtree
Description copied from interface:XObjectCast result object to a result tree fragment.
-