org.apache.xindice.core.xupdate
Class XObjectImpl
java.lang.Object
org.apache.xindice.core.xupdate.XObjectImpl
- All Implemented Interfaces:
- Serializable, org.xmldb.common.xml.queries.XObject
- public final class XObjectImpl
- extends Object
- implements org.xmldb.common.xml.queries.XObject
Wrapper for Xalan XObject
- Version:
- $Revision: 541508 $, $Date: 2007-05-24 21:54:12 -0400 (Thu, 24 May 2007) $
- See Also:
- Serialized Form
Fields inherited from interface org.xmldb.common.xml.queries.XObject |
CLASS_BOOLEAN, CLASS_NODESET, CLASS_NULL, CLASS_NUMBER, CLASS_RTREEFRAG, CLASS_STRING, CLASS_UNKNOWN |
Constructor Summary |
XObjectImpl(org.apache.xpath.objects.XObject xobj)
Creates a new XObject to wrap a Xalan XObject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XObjectImpl
public XObjectImpl(org.apache.xpath.objects.XObject xobj)
throws IllegalArgumentException
- Creates a new XObject to wrap a Xalan XObject
- Parameters:
xobj
- xalan's XObject that should be wrapped.
- Throws:
IllegalArgumentException
- If the given XObject was null.
getType
public int getType()
- Specified by:
getType
in interface org.xmldb.common.xml.queries.XObject
bool
public boolean bool()
throws Exception
- Specified by:
bool
in interface org.xmldb.common.xml.queries.XObject
- Throws:
Exception
num
public double num()
throws Exception
- Specified by:
num
in interface org.xmldb.common.xml.queries.XObject
- Throws:
Exception
str
public String str()
- Specified by:
str
in interface org.xmldb.common.xml.queries.XObject
nodeset
public org.w3c.dom.NodeList nodeset()
throws Exception
- Specified by:
nodeset
in interface org.xmldb.common.xml.queries.XObject
- Throws:
Exception
rtree
public org.w3c.dom.DocumentFragment rtree()
- Specified by:
rtree
in interface org.xmldb.common.xml.queries.XObject
Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.