Interface DescriptorIo

    • Method Detail

      • parseXml

        org.jdom.Document parseXml​(InputStream documentStream)
                            throws org.jdom.JDOMException,
                                   IOException
        Parse XML into a document.
        Parameters:
        documentStream - stream containing XML
        Returns:
        the document
        Throws:
        IOException - if error reading
        org.jdom.JDOMException - if error constructing document
      • parseXml

        org.jdom.Document parseXml​(InputStream theInput,
                                   EntityResolver theEntityResolver)
                            throws org.jdom.JDOMException,
                                   IOException
        Parameters:
        theInput - Input XML stream
        theEntityResolver - Entity Resolver
        Returns:
        the document
        Throws:
        IOException - if error reading
        org.jdom.JDOMException - if error constructing document
      • createDocumentBuilder

        org.jdom.input.SAXBuilder createDocumentBuilder()
        Create a document builder.
        Returns:
        new document builder
      • createDocumentBuilder

        org.jdom.input.SAXBuilder createDocumentBuilder​(EntityResolver theEntityResolver)
        Parameters:
        theEntityResolver - entity resolver or null
        Returns:
        a new non-validating, non-namespace-aware DocumentBuilder instance