java.io.Serializable, XObjectpublic final class XObjectImpl extends java.lang.Object implements XObject
CLASS_BOOLEAN, CLASS_NODESET, CLASS_NULL, CLASS_NUMBER, CLASS_RTREEFRAG, CLASS_STRING, CLASS_UNKNOWN| Constructor | Description |
|---|---|
XObjectImpl(org.apache.xpath.objects.XObject xobj) |
Creates a new XalanXObject.
|
| 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.
|
public XObjectImpl(org.apache.xpath.objects.XObject xobj)
throws java.lang.IllegalArgumentException
xobj - Xalans native XObject that should be wrapped.java.lang.IllegalArgumentException - If the given XObject was null.public boolean bool()
throws javax.xml.transform.TransformerException
XObjectpublic double num()
throws javax.xml.transform.TransformerException
XObjectpublic java.lang.String str()
XObjectpublic org.w3c.dom.NodeList nodeset()
throws javax.xml.transform.TransformerException
XObjectCopyright (C) XML:DB Initiative. All rights reserved.%lt;/font>