public class RelaxNGSchemaFactory extends XMLValidationSchemaFactory
| Modifier and Type | Field and Description |
|---|---|
protected ValidatorConfig |
mConfig
Current configurations for this factory
|
protected com.sun.msv.reader.GrammarReaderController |
mDummyController
For now, there's no need for fine-grained error/problem reporting
infrastructure, so let's just use a dummy controller.
|
protected javax.xml.parsers.SAXParserFactory |
mSaxFactory |
INTERNAL_ID_SCHEMA_DTD, INTERNAL_ID_SCHEMA_RELAXNG, INTERNAL_ID_SCHEMA_TREX, INTERNAL_ID_SCHEMA_W3C, P_ENABLE_CACHING, P_IS_NAMESPACE_AWARE, SERVICE_DEFINITION_PATH, SYSTEM_PROPERTY_FOR_IMPL| Constructor and Description |
|---|
RelaxNGSchemaFactory() |
| Modifier and Type | Method and Description |
|---|---|
XMLValidationSchema |
createSchema(java.io.File f) |
XMLValidationSchema |
createSchema(java.io.InputStream in,
java.lang.String encoding,
java.lang.String publicId,
java.lang.String systemId) |
XMLValidationSchema |
createSchema(java.io.Reader r,
java.lang.String publicId,
java.lang.String systemId) |
XMLValidationSchema |
createSchema(java.net.URL url) |
java.lang.Object |
getProperty(java.lang.String propName) |
boolean |
isPropertySupported(java.lang.String propName) |
protected XMLValidationSchema |
loadSchema(org.xml.sax.InputSource src,
java.lang.Object sysRef) |
boolean |
setProperty(java.lang.String propName,
java.lang.Object value) |
createSchema, createSchema, createSchema, newInstance, newInstanceprotected final javax.xml.parsers.SAXParserFactory mSaxFactory
protected final ValidatorConfig mConfig
protected final com.sun.msv.reader.GrammarReaderController mDummyController
public boolean isPropertySupported(java.lang.String propName)
isPropertySupported in class XMLValidationSchemaFactorypublic boolean setProperty(java.lang.String propName,
java.lang.Object value)
setProperty in class XMLValidationSchemaFactorypropName - Name of property to setvalue - Value to set property topublic java.lang.Object getProperty(java.lang.String propName)
getProperty in class XMLValidationSchemaFactorypublic XMLValidationSchema createSchema(java.io.InputStream in, java.lang.String encoding, java.lang.String publicId, java.lang.String systemId) throws javax.xml.stream.XMLStreamException
createSchema in class XMLValidationSchemaFactoryjavax.xml.stream.XMLStreamExceptionpublic XMLValidationSchema createSchema(java.io.Reader r, java.lang.String publicId, java.lang.String systemId) throws javax.xml.stream.XMLStreamException
createSchema in class XMLValidationSchemaFactoryjavax.xml.stream.XMLStreamExceptionpublic XMLValidationSchema createSchema(java.net.URL url) throws javax.xml.stream.XMLStreamException
createSchema in class XMLValidationSchemaFactoryjavax.xml.stream.XMLStreamExceptionpublic XMLValidationSchema createSchema(java.io.File f) throws javax.xml.stream.XMLStreamException
createSchema in class XMLValidationSchemaFactoryjavax.xml.stream.XMLStreamExceptionprotected XMLValidationSchema loadSchema(org.xml.sax.InputSource src, java.lang.Object sysRef) throws javax.xml.stream.XMLStreamException
javax.xml.stream.XMLStreamException