Class XObjectImpl

  • All Implemented Interfaces:
    java.io.Serializable, XObject

    public final class XObjectImpl
    extends java.lang.Object
    implements XObject
    Version:
    $Revision: 1.1 $ $Date: 2004/05/30 11:54:45 $
    Author:
    SMB
    See Also:
    Serialized Form
    • Constructor Detail

      • XObjectImpl

        public XObjectImpl​(java.util.Enumeration e)
                    throws java.lang.IllegalArgumentException
        Throws:
        java.lang.IllegalArgumentException
    • Method Detail

      • getType

        public int getType()
                    throws java.lang.Exception
        Specified by:
        getType in interface XObject
        Throws:
        java.lang.Exception
      • bool

        public boolean bool()
                     throws java.lang.Exception
        Description copied from interface: XObject
        Cast result object to a boolean.
        Specified by:
        bool in interface XObject
        Returns:
        The Object casted to boolean
        Throws:
        org.xml.sax.SAXException - If any error occurs.
        java.lang.Exception
      • num

        public double num()
                   throws java.lang.Exception
        Description copied from interface: XObject
        Cast result object to a number.
        Specified by:
        num in interface XObject
        Returns:
        The Object casted to double.
        Throws:
        org.xml.sax.SAXException - If any error occurs.
        java.lang.Exception
      • str

        public java.lang.String str()
                             throws java.lang.Exception
        Description copied from interface: XObject
        Cast result object to a string.
        Specified by:
        str in interface XObject
        Returns:
        The Object casted to string.
        Throws:
        java.lang.Exception
      • nodeset

        public org.w3c.dom.NodeList nodeset()
                                     throws java.lang.Exception
        Description copied from interface: XObject
        Cast result object to a nodelist.
        Specified by:
        nodeset in interface XObject
        Returns:
        The Object casted to NodeList.
        Throws:
        org.xml.sax.SAXException - If any error occurs.
        java.lang.Exception
      • rtree

        public org.w3c.dom.DocumentFragment rtree()
        Description copied from interface: XObject
        Cast result object to a result tree fragment.
        Specified by:
        rtree in interface XObject
        Returns:
        The Object casted to DocumentFragment.