org.apache.qpid.management.domain.model
Interface IValidator

All Known Implementing Classes:
QpidProperty.NumberValidator, QpidProperty.StringValidator

interface IValidator

Interface definition for attribute validators.


Method Summary
 void validate(Object value)
          Validates the given value according to the rules definied by this validator.
 

Method Detail

validate

void validate(Object value)
              throws ValidationException
Validates the given value according to the rules definied by this validator.

Parameters:
value - the value be checked.
Throws:
ValidationException - when the value is violating validator's rules.


Licensed to the Apache Software Foundation