public abstract class FactoryImpl
extends org.iso_relax.verifier.VerifierFactory
| Modifier and Type | Class and Description |
|---|---|
private class |
FactoryImpl.ThrowController |
private static class |
FactoryImpl.WrapperException
wrapper exception so that we can throw it from the GrammarReaderController.
|
| Modifier and Type | Field and Description |
|---|---|
protected javax.xml.parsers.SAXParserFactory |
factory |
private org.xml.sax.EntityResolver |
resolver
To be used to resolve files included/imported by the schema.
|
private boolean |
usePanicMode |
| Modifier | Constructor and Description |
|---|---|
protected |
FactoryImpl() |
protected |
FactoryImpl(javax.xml.parsers.SAXParserFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
org.iso_relax.verifier.Schema |
compileSchema(org.xml.sax.InputSource source) |
(package private) static IVerifier |
createVerifier(Grammar g)
gets the VGM by sniffing its type.
|
org.xml.sax.EntityResolver |
getEntityResolver() |
boolean |
isFeature(java.lang.String feature) |
protected abstract Grammar |
parse(org.xml.sax.InputSource source,
GrammarReaderController controller)
parses a Grammar from the specified source.
|
void |
setEntityResolver(org.xml.sax.EntityResolver _resolver) |
void |
setFeature(java.lang.String feature,
boolean v) |
protected final javax.xml.parsers.SAXParserFactory factory
private boolean usePanicMode
private org.xml.sax.EntityResolver resolver
protected FactoryImpl(javax.xml.parsers.SAXParserFactory factory)
protected FactoryImpl()
public void setFeature(java.lang.String feature,
boolean v)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
setFeature in class org.iso_relax.verifier.VerifierFactoryorg.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedExceptionpublic boolean isFeature(java.lang.String feature)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
isFeature in class org.iso_relax.verifier.VerifierFactoryorg.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedExceptionpublic void setEntityResolver(org.xml.sax.EntityResolver _resolver)
setEntityResolver in class org.iso_relax.verifier.VerifierFactorypublic org.xml.sax.EntityResolver getEntityResolver()
getEntityResolver in class org.iso_relax.verifier.VerifierFactoryprotected abstract Grammar parse(org.xml.sax.InputSource source, GrammarReaderController controller) throws org.xml.sax.SAXException, org.iso_relax.verifier.VerifierConfigurationException
org.xml.sax.SAXExceptionorg.iso_relax.verifier.VerifierConfigurationExceptionpublic org.iso_relax.verifier.Schema compileSchema(org.xml.sax.InputSource source)
throws org.iso_relax.verifier.VerifierConfigurationException,
org.xml.sax.SAXException
compileSchema in class org.iso_relax.verifier.VerifierFactoryorg.iso_relax.verifier.VerifierConfigurationExceptionorg.xml.sax.SAXException