Class DomXmlDataFormatReader

java.lang.Object
org.camunda.spin.spi.TextBasedDataFormatReader
org.camunda.spin.impl.xml.dom.format.DomXmlDataFormatReader
All Implemented Interfaces:
DataFormatReader

public class DomXmlDataFormatReader extends TextBasedDataFormatReader
Author:
Daniel Meyer
  • Field Details

  • Constructor Details

    • DomXmlDataFormatReader

      public DomXmlDataFormatReader(DomXmlDataFormat dataFormat)
  • Method Details

    • readInput

      public Element readInput(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 DocumentBuilder getDocumentBuilder()
      Returns:
      the DocumentBuilder used by this reader
    • getInputDetectionPattern

      protected Pattern getInputDetectionPattern()
      Specified by:
      getInputDetectionPattern in class TextBasedDataFormatReader