Class SchemaImpl

  • All Implemented Interfaces:
    org.iso_relax.verifier.Schema

    public class SchemaImpl
    extends java.lang.Object
    implements org.iso_relax.verifier.Schema
    base implementation of RELAXFactoryImpl and TREXFactoryImpl
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected javax.xml.parsers.SAXParserFactory factory  
      protected Grammar grammar  
      private boolean usePanicMode  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
        SchemaImpl​(Grammar grammar)  
      protected SchemaImpl​(Grammar grammar, javax.xml.parsers.SAXParserFactory factory, boolean _usePanicMode)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private org.xml.sax.XMLReader createXMLReader()  
      org.iso_relax.verifier.Verifier newVerifier()  
      • Methods inherited from class java.lang.Object

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

      • grammar

        protected final Grammar grammar
      • factory

        protected final javax.xml.parsers.SAXParserFactory factory
      • usePanicMode

        private boolean usePanicMode
    • Constructor Detail

      • SchemaImpl

        protected SchemaImpl​(Grammar grammar,
                             javax.xml.parsers.SAXParserFactory factory,
                             boolean _usePanicMode)
      • SchemaImpl

        public SchemaImpl​(Grammar grammar)
    • Method Detail

      • newVerifier

        public org.iso_relax.verifier.Verifier newVerifier()
                                                    throws org.iso_relax.verifier.VerifierConfigurationException
        Specified by:
        newVerifier in interface org.iso_relax.verifier.Schema
        Throws:
        org.iso_relax.verifier.VerifierConfigurationException
      • createXMLReader

        private org.xml.sax.XMLReader createXMLReader()
                                               throws org.iso_relax.verifier.VerifierConfigurationException
        Throws:
        org.iso_relax.verifier.VerifierConfigurationException