public interface XObject
extends java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static int |
CLASS_BOOLEAN
Result type is a boolean.
|
static int |
CLASS_NODESET
Result type is a NodeSet.
|
static int |
CLASS_NULL
Result is null.
|
static int |
CLASS_NUMBER
Result type is a Integer.
|
static int |
CLASS_RTREEFRAG
Result type is a Document Fragment.
|
static int |
CLASS_STRING
Result type is a String.
|
static int |
CLASS_UNKNOWN
Result type is not known.
|
| Modifier and Type | Method and 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.
|
static final int CLASS_NULL
static final int CLASS_UNKNOWN
static final int CLASS_BOOLEAN
static final int CLASS_NUMBER
static final int CLASS_STRING
static final int CLASS_NODESET
static final int CLASS_RTREEFRAG
int getType()
throws java.lang.Exception
java.lang.Exceptionboolean bool()
throws java.lang.Exception
org.xml.sax.SAXException - If any error occurs.java.lang.Exceptiondouble num()
throws java.lang.Exception
org.xml.sax.SAXException - If any error occurs.java.lang.Exceptionjava.lang.String str()
throws java.lang.Exception
java.lang.Exceptionorg.w3c.dom.NodeList nodeset()
throws java.lang.Exception
org.xml.sax.SAXException - If any error occurs.java.lang.Exceptionorg.w3c.dom.DocumentFragment rtree()
throws java.lang.Exception
java.lang.ExceptionCopyright (C) XML:DB Initiative. All rights reserved.%lt;/font>