org.apache.commons.attributes.validation
Interface AttributeValidator


public interface AttributeValidator

Validates that a set of classes have the correct attributes attached to them. This interface must be implemented by the validation rules given to the AttributeValidatorTask.


Method Summary
 void validate(Set classes)
          Validates a set of classes.
 

Method Detail

validate

public void validate(Set classes)
              throws ValidationException
Validates a set of classes.

Parameters:
classes - the classes to validate.
Throws:
ValidationException - if one or more classes have an invalid set of attributes.


Copyright © The Apache Software Foundation. All Rights Reserved.