Class XObjectImpl
java.lang.Object
org.xmldb.common.xml.queries.xalan2.XObjectImpl
- All Implemented Interfaces:
Serializable, XObject
-
Field Summary
Fields inherited from interface 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
-
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
-
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.
-