Package com.sun.msv.verifier.jarv
Class FactoryImpl
- java.lang.Object
-
- org.iso_relax.verifier.VerifierFactory
-
- com.sun.msv.verifier.jarv.FactoryImpl
-
- Direct Known Subclasses:
DTDFactoryImpl,RELAXCoreFactoryImpl,RELAXNGFactoryImpl,TheFactoryImpl,TREXFactoryImpl,XSFactoryImpl
public abstract class FactoryImpl extends org.iso_relax.verifier.VerifierFactorybase implementation of RELAXFactoryImpl and TREXFactoryImpl- Author:
- Kohsuke KAWAGUCHI
-
-
Field Summary
Fields Modifier and Type Field Description protected SAXParserFactoryfactory
-
Constructor Summary
Constructors Modifier Constructor Description protectedFactoryImpl()protectedFactoryImpl(SAXParserFactory factory)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description org.iso_relax.verifier.SchemacompileSchema(InputSource source)EntityResolvergetEntityResolver()booleanisFeature(String feature)protected abstract Grammarparse(InputSource source, GrammarReaderController controller)parses a Grammar from the specified source.voidsetEntityResolver(EntityResolver _resolver)voidsetFeature(String feature, boolean v)
-
-
-
Field Detail
-
factory
protected final SAXParserFactory factory
-
-
Constructor Detail
-
FactoryImpl
protected FactoryImpl(SAXParserFactory factory)
-
FactoryImpl
protected FactoryImpl()
-
-
Method Detail
-
setFeature
public void setFeature(String feature, boolean v) throws SAXNotRecognizedException, SAXNotSupportedException
- Overrides:
setFeaturein classorg.iso_relax.verifier.VerifierFactory- Throws:
SAXNotRecognizedExceptionSAXNotSupportedException
-
isFeature
public boolean isFeature(String feature) throws SAXNotRecognizedException, SAXNotSupportedException
- Overrides:
isFeaturein classorg.iso_relax.verifier.VerifierFactory- Throws:
SAXNotRecognizedExceptionSAXNotSupportedException
-
setEntityResolver
public void setEntityResolver(EntityResolver _resolver)
- Overrides:
setEntityResolverin classorg.iso_relax.verifier.VerifierFactory
-
getEntityResolver
public EntityResolver getEntityResolver()
- Overrides:
getEntityResolverin classorg.iso_relax.verifier.VerifierFactory
-
parse
protected abstract Grammar parse(InputSource source, GrammarReaderController controller) throws SAXException, org.iso_relax.verifier.VerifierConfigurationException
parses a Grammar from the specified source. return null if an error happens.- Throws:
SAXExceptionorg.iso_relax.verifier.VerifierConfigurationException
-
compileSchema
public org.iso_relax.verifier.Schema compileSchema(InputSource source) throws org.iso_relax.verifier.VerifierConfigurationException, SAXException
- Specified by:
compileSchemain classorg.iso_relax.verifier.VerifierFactory- Throws:
org.iso_relax.verifier.VerifierConfigurationExceptionSAXException
-
-