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

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

 class QpidProperty.StringValidator
extends Object
implements IValidator

Validator responsible for validating strings. At the moment the only constraint that should be applied to a string feature is the "max length"


Constructor Summary
QpidProperty.StringValidator()
           
 
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.StringValidator

QpidProperty.StringValidator()
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