Xindice API
version 1.2m1

org.apache.xindice.core.xupdate
Class XObjectImpl

java.lang.Object
  extended byorg.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

Field Summary
 
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
 
Method Summary
 boolean bool()
           
 int getType()
           
 org.w3c.dom.NodeList nodeset()
           
 double num()
           
 org.w3c.dom.DocumentFragment rtree()
           
 String str()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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.
Method Detail

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

Xindice API
version 1.2m1

Copyright (c) 1999-2007 The Apache Software Foundation. All Rights Reserved.