org.apache.xalan.xpath
Class XObject

java.lang.Object
  |
  +--org.apache.xpath.Expression
        |
        +--org.apache.xpath.objects.XObject
              |
              +--org.apache.xalan.xpath.XObject
Direct Known Subclasses:
XBoolean, XNodeSet, XNull, XNumber, XRTreeFrag, XString

public class XObject
extends org.apache.xpath.objects.XObject

This class represents an XPath object, and is capable of converting the object to various types, such as a string. This class acts as the base class to other XPath type objects, such as XString, and provides polymorphic casting capabilities.

See Also:
Serialized Form

Fields inherited from class org.apache.xpath.objects.XObject
CLASS_BOOLEAN, CLASS_NODESET, CLASS_NULL, CLASS_NUMBER, CLASS_RTREEFRAG, CLASS_STRING, CLASS_UNKNOWN, CLASS_UNRESOLVEDVARIABLE
 
Constructor Summary
XObject()
          Create an XObject.
XObject(java.lang.Object obj)
          Create an XObject.
 
Methods inherited from class org.apache.xpath.objects.XObject
bool, castToType, create, equals, execute, getType, getTypeString, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, mutableNodeset, nodeset, notEquals, num, object, rtree, rtree, str, toString
 
Methods inherited from class org.apache.xpath.Expression
assertion, canTraverseOutsideSubtree, error, setSourceLocator, warn
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XObject

public XObject()
Create an XObject.

XObject

public XObject(java.lang.Object obj)
Create an XObject.


Copyright © 2000 Apache XML Project. All Rights Reserved.