|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--uk.org.ogsadai.common.DocumentValidator
|
+--uk.org.ogsadai.engine.SchemaDocumentValidator
A DocumentValidator that validates a document against a schema.
| Constructor Summary | |
SchemaDocumentValidator(org.w3c.dom.Document schema)
Constructs the document validator. |
|
| Method Summary | |
protected void |
performValidation(org.w3c.dom.Document request)
Validates the specified document and throws a DocumentValidationException with a desctiptive error message
if the document is invalid. |
| Methods inherited from class uk.org.ogsadai.common.DocumentValidator |
setSuccessor, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SchemaDocumentValidator(org.w3c.dom.Document schema)
schema - The schema to validate perform documents against| Method Detail |
protected void performValidation(org.w3c.dom.Document request)
throws DocumentValidationException
DocumentValidatorDocumentValidationException with a desctiptive error message
if the document is invalid. This method must be implemented by
DocumentValidator implementations.
performValidation in class DocumentValidatorrequest - the document to validate
DocumentValidationException - if the document is invalid
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||