public class DTDSchemaFactory
extends org.codehaus.stax2.validation.XMLValidationSchemaFactory
Due to close coupling of XML and DTD, some of the functionality implemented (like that of reading internal subsets embedded in XML documents) is only accessible by core Woodstox. The externally accessible
Modifier and Type | Field and Description |
---|---|
protected ReaderConfig |
mReaderConfig
This configuration object is used (instead of a more specific one)
since the actual DTD reader uses such configuration object.
|
protected ValidatorConfig |
mSchemaConfig
Current configurations for this factory
|
Constructor and Description |
---|
DTDSchemaFactory() |
Modifier and Type | Method and Description |
---|---|
org.codehaus.stax2.validation.XMLValidationSchema |
createSchema(File f) |
org.codehaus.stax2.validation.XMLValidationSchema |
createSchema(InputStream in,
String encoding,
String publicId,
String systemId) |
org.codehaus.stax2.validation.XMLValidationSchema |
createSchema(Reader r,
String publicId,
String systemId) |
org.codehaus.stax2.validation.XMLValidationSchema |
createSchema(URL url) |
protected org.codehaus.stax2.validation.XMLValidationSchema |
doCreateSchema(ReaderConfig rcfg,
InputBootstrapper bs,
String publicId,
String systemIdStr,
URL ctxt)
The main validator construction method, called by all externally
visible methods.
|
Object |
getProperty(String propName) |
boolean |
isPropertySupported(String propName) |
boolean |
setProperty(String propName,
Object value) |
protected final ValidatorConfig mSchemaConfig
protected final ReaderConfig mReaderConfig
public boolean isPropertySupported(String propName)
isPropertySupported
in class org.codehaus.stax2.validation.XMLValidationSchemaFactory
public boolean setProperty(String propName, Object value)
setProperty
in class org.codehaus.stax2.validation.XMLValidationSchemaFactory
public Object getProperty(String propName)
getProperty
in class org.codehaus.stax2.validation.XMLValidationSchemaFactory
public org.codehaus.stax2.validation.XMLValidationSchema createSchema(InputStream in, String encoding, String publicId, String systemId) throws XMLStreamException
createSchema
in class org.codehaus.stax2.validation.XMLValidationSchemaFactory
XMLStreamException
public org.codehaus.stax2.validation.XMLValidationSchema createSchema(Reader r, String publicId, String systemId) throws XMLStreamException
createSchema
in class org.codehaus.stax2.validation.XMLValidationSchemaFactory
XMLStreamException
public org.codehaus.stax2.validation.XMLValidationSchema createSchema(URL url) throws XMLStreamException
createSchema
in class org.codehaus.stax2.validation.XMLValidationSchemaFactory
XMLStreamException
public org.codehaus.stax2.validation.XMLValidationSchema createSchema(File f) throws XMLStreamException
createSchema
in class org.codehaus.stax2.validation.XMLValidationSchemaFactory
XMLStreamException
protected org.codehaus.stax2.validation.XMLValidationSchema doCreateSchema(ReaderConfig rcfg, InputBootstrapper bs, String publicId, String systemIdStr, URL ctxt) throws XMLStreamException
XMLStreamException
Copyright © 2018 FasterXML. All rights reserved.