|
JDOM 2.0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdom2.input.sax.AbstractReaderSchemaFactory
org.jdom2.input.sax.XMLReaderSchemaFactory
public class XMLReaderSchemaFactory
This XMLReaderJDOMFactory
class returns XMLReaders configured to
validate against the supplied Schema instance. The Schema could be an XSD
schema or some other schema supported by SAX (e.g. RelaxNG).
If you want to validate an XML document against the XSD references embedded
in the XML itself (xsdSchemaLocation) then you do not want to use this class
but rather use an alternate means like
XMLReaders.XSDVALIDATING
.
See the package documentation
for the best
alternatives.
org.jdom2.input.sax
Constructor Summary | |
---|---|
XMLReaderSchemaFactory(javax.xml.validation.Schema schema)
XMLReader instances from this class will be configured to validate using the supplied Schema instance. |
Method Summary |
---|
Methods inherited from class org.jdom2.input.sax.AbstractReaderSchemaFactory |
---|
createXMLReader, isValidating |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMLReaderSchemaFactory(javax.xml.validation.Schema schema)
schema
- The Schema to use for validation.
|
JDOM 2.0.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |