public final class XObjectImpl extends java.lang.Object implements XObject
CLASS_BOOLEAN, CLASS_NODESET, CLASS_NULL, CLASS_NUMBER, CLASS_RTREEFRAG, CLASS_STRING, CLASS_UNKNOWN| Constructor and Description |
|---|
XObjectImpl(java.util.Enumeration e) |
| 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.
|
public XObjectImpl(java.util.Enumeration e)
throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic int getType()
throws java.lang.Exception
public boolean bool()
throws java.lang.Exception
XObjectpublic double num()
throws java.lang.Exception
XObjectpublic java.lang.String str()
throws java.lang.Exception
XObjectpublic org.w3c.dom.NodeList nodeset()
throws java.lang.Exception
XObjectCopyright (C) XML:DB Initiative. All rights reserved.%lt;/font>