uk.org.ogsadai.engine
Class ActivityClassDocumentValidator

java.lang.Object
  |
  +--uk.org.ogsadai.common.DocumentValidator
        |
        +--uk.org.ogsadai.engine.ActivityClassDocumentValidator

public class ActivityClassDocumentValidator
extends DocumentValidator

This DocumentValidator scans through the activity elements contained in an activity configuration document and validates the specified implementation classes. The following must be satisfied in order for an implementation class to be deemed valid:

If an activity implementation class is deemed to be invalid, a DocumentValidationException is raised.

Author:
The OGSA-DAI Project Team

Constructor Summary
ActivityClassDocumentValidator()
           
 
Method Summary
protected  void performValidation(org.w3c.dom.Document document)
          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

ActivityClassDocumentValidator

public ActivityClassDocumentValidator()
Method Detail

performValidation

protected void performValidation(org.w3c.dom.Document document)
                          throws DocumentValidationException
Description copied from class: DocumentValidator
Validates the specified document and throws a DocumentValidationException with a desctiptive error message if the document is invalid. This method must be implemented by DocumentValidator implementations.

Specified by:
performValidation in class DocumentValidator
Parameters:
document - the document to validate
Throws:
DocumentValidationException - if the document is invalid