Class Srx1Parser

  • All Implemented Interfaces:
    SrxParser

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

      Constructors 
      Constructor Description
      Srx1Parser()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SrxDocument parse​(java.io.Reader reader)
      Transforms document to SRX 2.0 using Srx1Transformer and default transformation parameters and parses it using Srx2Parser.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Srx1Parser

        public Srx1Parser()
    • Method Detail

      • parse

        public SrxDocument parse​(java.io.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