Class Srx1Parser

java.lang.Object
net.loomchild.segment.srx.io.Srx1Parser
All Implemented Interfaces:
SrxParser

public class Srx1Parser extends Object implements SrxParser
Represents SRX 1.0 parser. Transforms document to SRX 2.0 using Srx1Transformer and then parses it using Srx2Parser.
  • Constructor Details

    • Srx1Parser

      public Srx1Parser()
  • Method Details

    • parse

      public SrxDocument parse(Reader reader)
      Transforms document to SRX 2.0 using Srx1Transformer and default transformation parameters and parses it using Srx2Parser.
      Specified by:
      parse in interface SrxParser
      Parameters:
      reader - reader from which read the document
      Returns:
      initialized SRX document