uk.org.ogsadai.engine
Class ActivityPropertyDocumentValidator

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

public class ActivityPropertyDocumentValidator
extends DocumentValidator

This DocumentValidator scans through the activity elements contained in an activity configuration document looking for activities that make use of property sub-elements. These are then validated to make sure that there are no duplicated property keys within an activity.

Author:
The OGSA-DAI Project Team

Constructor Summary
ActivityPropertyDocumentValidator()
           
 
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

ActivityPropertyDocumentValidator

public ActivityPropertyDocumentValidator()
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