jaxx.runtime
Interface JAXXValidator


public interface JAXXValidator

The contract of a validator-able object.

Author:
tchemit

Method Summary
 BeanValidator<?> getValidator(String validatorId)
          Obtain a validator from his id
 List<String> getValidatorIds()
           
 void registerValidatorFields()
          Init the fields representation.
 

Method Detail

getValidator

BeanValidator<?> getValidator(String validatorId)
Obtain a validator from his id

Parameters:
validatorId - validator id
Returns:
the associated validator, or null if not find

getValidatorIds

List<String> getValidatorIds()
Returns:
the list of ids of all registred validator

registerValidatorFields

void registerValidatorFields()
Init the fields representation.

This method is generated and should be called each time the context name of a validator has changed, since when using method SwingValidator.setFieldRepresentation(String, JComponent) is invoked at init, if a field is not watched for the selected context, then after when changing context name, the field will not be notified of any changed...

Since:
2.2.1


Copyright © 2008-2011 CodeLutin. All Rights Reserved.