Class DomXmlDataFormatReader

    • Constructor Detail

      • DomXmlDataFormatReader

        public DomXmlDataFormatReader​(DomXmlDataFormat dataFormat)
    • Method Detail

      • readInput

        public org.w3c.dom.Element readInput​(java.io.Reader input)
        Description copied from interface: DataFormatReader
        Read (or parse) a reader into this data format's input structure. For example, an Xml-Based data format may return an internal tree structure which can be used for traversing the xml tree.
        Parameters:
        input - a Reader providing the data source
        Returns:
        the read or parsed input
      • getDocumentBuilder

        protected javax.xml.parsers.DocumentBuilder getDocumentBuilder()
        Returns:
        the DocumentBuilder used by this reader