Class Srx2StaxParser

  • All Implemented Interfaces:
    SrxParser

    public class Srx2StaxParser
    extends java.lang.Object
    implements SrxParser
    Represents SRX 2.0 document parser. Responsible for creating and initializing Document according to given SRX. Uses STAX. Cannot validate.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static org.apache.commons.logging.Log log  
    • Constructor Summary

      Constructors 
      Constructor Description
      Srx2StaxParser()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SrxDocument parse​(java.io.Reader reader)
      Parses SRX document from reader.
      • Methods inherited from class java.lang.Object

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

      • log

        private static final org.apache.commons.logging.Log log
    • Constructor Detail

      • Srx2StaxParser

        public Srx2StaxParser()
    • Method Detail

      • parse

        public SrxDocument parse​(java.io.Reader reader)
        Parses SRX document from reader.
        Specified by:
        parse in interface SrxParser
        Parameters:
        reader -
        Returns:
        initialized document