|
|||||||||||
| 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.activity.SchemaDocumentValidator
A DocumentValidator that validates a document against a schema.
| Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private static DAILogger |
LOG
Logger object for logging in this class |
private org.w3c.dom.Document |
mSchema
Perform document schema |
| Fields inherited from class uk.org.ogsadai.common.DocumentValidator |
|
| 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 |
| Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private static final DAILogger LOG
private final org.w3c.dom.Document mSchema
| 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.
performValidation in class DocumentValidatorrequest - 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 | ||||||||||