dbXML API

org.dbxml.core.xupdate
Class XObjectImpl

java.lang.Object
  |
  +--org.dbxml.core.xupdate.XObjectImpl
All Implemented Interfaces:
java.io.Serializable, org.infozone.tools.xml.queries.XObject

public final class XObjectImpl
extends java.lang.Object
implements org.infozone.tools.xml.queries.XObject

Wrapper for Xalan XObject

See Also:
Serialized Form

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.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()
           
 java.lang.String str()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XObjectImpl

public XObjectImpl(org.apache.xpath.objects.XObject xobj)
            throws java.lang.IllegalArgumentException
Creates a new XObject to wrap a Xalan XObject
Parameters:
xobj - xalan's XObject that should be wrapped.
Throws:
java.lang.IllegalArgumentException - If the given XObject was null.
Method Detail

getType

public int getType()
Specified by:
getType in interface org.infozone.tools.xml.queries.XObject

bool

public boolean bool()
             throws java.lang.Exception
Specified by:
bool in interface org.infozone.tools.xml.queries.XObject

num

public double num()
           throws java.lang.Exception
Specified by:
num in interface org.infozone.tools.xml.queries.XObject

str

public java.lang.String str()
Specified by:
str in interface org.infozone.tools.xml.queries.XObject

nodeset

public org.w3c.dom.NodeList nodeset()
                             throws java.lang.Exception
Specified by:
nodeset in interface org.infozone.tools.xml.queries.XObject

rtree

public org.w3c.dom.DocumentFragment rtree()
Specified by:
rtree in interface org.infozone.tools.xml.queries.XObject

dbXML API

Copyright (c) 1999-2001 The dbXML Group, All rights reserved