|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.bibalex.daf.handlers.xmlhandler.SchemaValidator
public class SchemaValidator
Validates an XML file against a given Schema.
Nested Class Summary | |
---|---|
private class |
SchemaValidator.Validator
|
Constructor Summary | |
---|---|
SchemaValidator()
|
Method Summary | |
---|---|
boolean |
validateSchema(java.lang.String SchemaUrl,
org.xml.sax.InputSource XmlDocumentSource)
Validates the given XML document against the given schema. |
boolean |
validateSchema(java.lang.String SchemaUrl,
java.lang.String XmlDocumentUrl)
Validates the given XML document against the given schema. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaValidator()
Method Detail |
---|
public boolean validateSchema(java.lang.String SchemaUrl, java.lang.String XmlDocumentUrl)
SchemaUrl
- The URL of the schemaXmlDocumentUrl
- The URL of the XML document
public boolean validateSchema(java.lang.String SchemaUrl, org.xml.sax.InputSource XmlDocumentSource)
SchemaUrl
- The URL of the schemaXmlDocumentSource
- The InputSource representing the XML document.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |