Package com.sun.msv.verifier.jarv
Class SchemaImpl
- java.lang.Object
-
- com.sun.msv.verifier.jarv.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()
-
-
-
Field Detail
-
grammar
protected final Grammar grammar
-
factory
protected final javax.xml.parsers.SAXParserFactory factory
-
usePanicMode
private boolean usePanicMode
-
-
Method Detail
-
newVerifier
public org.iso_relax.verifier.Verifier newVerifier() throws org.iso_relax.verifier.VerifierConfigurationException
- Specified by:
newVerifier
in interfaceorg.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
-
-