public abstract class FactoryImpl extends VerifierFactory
| Modifier and Type | Field and Description |
|---|---|
protected SAXParserFactory |
factory |
| Modifier | Constructor and Description |
|---|---|
protected |
FactoryImpl() |
protected |
FactoryImpl(SAXParserFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
Schema |
compileSchema(InputSource source) |
EntityResolver |
getEntityResolver() |
boolean |
isFeature(String feature) |
protected abstract Grammar |
parse(InputSource source,
GrammarReaderController controller)
parses a Grammar from the specified source.
|
void |
setEntityResolver(EntityResolver _resolver) |
void |
setFeature(String feature,
boolean v) |
compileSchema, compileSchema, compileSchema, compileSchema, getProperty, newInstance, newInstance, newVerifier, newVerifier, newVerifier, newVerifier, newVerifier, setPropertyprotected final SAXParserFactory factory
protected FactoryImpl(SAXParserFactory factory)
protected FactoryImpl()
public void setFeature(String feature, boolean v) throws SAXNotRecognizedException, SAXNotSupportedException
setFeature in class VerifierFactorySAXNotRecognizedExceptionSAXNotSupportedExceptionpublic boolean isFeature(String feature) throws SAXNotRecognizedException, SAXNotSupportedException
isFeature in class VerifierFactorySAXNotRecognizedExceptionSAXNotSupportedExceptionpublic void setEntityResolver(EntityResolver _resolver)
setEntityResolver in class VerifierFactorypublic EntityResolver getEntityResolver()
getEntityResolver in class VerifierFactoryprotected abstract Grammar parse(InputSource source, GrammarReaderController controller) throws SAXException, VerifierConfigurationException
public Schema compileSchema(InputSource source) throws VerifierConfigurationException, SAXException
compileSchema in class VerifierFactoryVerifierConfigurationExceptionSAXExceptionCopyright © 2017 Oracle Corporation. All rights reserved.