Class XmlNmrmlReader

All Implemented Interfaces:
GenericLineReader

public class XmlNmrmlReader extends XmlCmlReader
A reader for the structure part of an nmrML file
  • Constructor Details

    • XmlNmrmlReader

      public XmlNmrmlReader()
  • Method Details

    • previewXML

      protected BufferedReader previewXML(BufferedReader reader) throws IOException
      fixing unterminated cv element and unclosed chemicalShiftStandard start element not fixing trailing '"' after bond elements Just two times through this before we are done. First read will be only 64 bytes long and ignored; second will be around 9000 bytes and will be handled.
      Overrides:
      previewXML in class XmlReader
      Parameters:
      reader -
      Returns:
      repaired reader
      Throws:
      IOException
    • processStart2

      protected void processStart2(String name)
      Overrides:
      processStart2 in class XmlCmlReader
    • processEnd2

      public void processEnd2(String name)
      Overrides:
      processEnd2 in class XmlCmlReader