org.apache.qpid.management.domain.model
Class QpidProperty.NumberValidator

java.lang.Object
  extended by org.apache.qpid.management.domain.model.QpidProperty.NumberValidator
All Implemented Interfaces:
IValidator
Enclosing class:
QpidProperty

 class QpidProperty.NumberValidator
extends Object
implements IValidator

Validator responsible for validating numbers.


Constructor Summary
QpidProperty.NumberValidator()
           
 
Method Summary
 void validate(Object value)
          Validates the given value according to the rules definied by this validator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QpidProperty.NumberValidator

QpidProperty.NumberValidator()
Method Detail

validate

public void validate(Object value)
              throws ValidationException
Description copied from interface: IValidator
Validates the given value according to the rules definied by this validator.

Specified by:
validate in interface IValidator
Parameters:
value - the value be checked.
Throws:
ValidationException - when the value is violating validator's rules.


Licensed to the Apache Software Foundation