Interface XObject

  • All Superinterfaces:
    java.io.Serializable
    All Known Implementing Classes:
    XObjectImpl, XObjectImpl

    public interface XObject
    extends java.io.Serializable
    Version:
    $Revision: 1.1 $ $Date: 2004/05/30 11:54:45 $
    Author:
    SMB
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
    • Method Detail

      • getType

        int getType()
             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • bool

        boolean bool()
              throws java.lang.Exception
        Cast result object to a boolean.
        Returns:
        The Object casted to boolean
        Throws:
        org.xml.sax.SAXException - If any error occurs.
        java.lang.Exception
      • num

        double num()
            throws java.lang.Exception
        Cast result object to a number.
        Returns:
        The Object casted to double.
        Throws:
        org.xml.sax.SAXException - If any error occurs.
        java.lang.Exception
      • str

        java.lang.String str()
                      throws java.lang.Exception
        Cast result object to a string.
        Returns:
        The Object casted to string.
        Throws:
        java.lang.Exception
      • nodeset

        org.w3c.dom.NodeList nodeset()
                              throws java.lang.Exception
        Cast result object to a nodelist.
        Returns:
        The Object casted to NodeList.
        Throws:
        org.xml.sax.SAXException - If any error occurs.
        java.lang.Exception
      • rtree

        org.w3c.dom.DocumentFragment rtree()
                                    throws java.lang.Exception
        Cast result object to a result tree fragment.
        Returns:
        The Object casted to DocumentFragment.
        Throws:
        java.lang.Exception