|
InfoZoneTools API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.infozone.tools.xml.queries.xalan.XObjectImpl
Wrapper for the Xalan XObject and maybe other XPath implementation specific things.
Field Summary |
Fields inherited from interface org.infozone.tools.xml.queries.XObject |
CLASS_BOOLEAN, CLASS_NODESET, CLASS_NULL, CLASS_NUMBER, CLASS_RTREEFRAG, CLASS_STRING, CLASS_UNKNOWN |
Constructor Summary | |
XObjectImpl(org.apache.xalan.xpath.XObject xobj)
Creates a new XalanXObject. |
Method Summary | |
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XObjectImpl(org.apache.xalan.xpath.XObject xobj) throws java.lang.IllegalArgumentException
xobj
- Xalans native XObject that should be wrapped.
java.lang.IllegalArgumentException
- If the given XObject was null.Method Detail |
public int getType()
getType
in interface XObject
public boolean bool() throws org.xml.sax.SAXException
XObject
bool
in interface XObject
org.xml.sax.SAXException
public double num() throws org.xml.sax.SAXException
XObject
num
in interface XObject
org.xml.sax.SAXException
public java.lang.String str()
XObject
str
in interface XObject
public org.w3c.dom.NodeList nodeset() throws org.xml.sax.SAXException
XObject
nodeset
in interface XObject
org.xml.sax.SAXException
public org.w3c.dom.DocumentFragment rtree()
XObject
rtree
in interface XObject
|
InfoZoneTools API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |