Packagevegas.core
Interfacepublic interface IValidator
SubinterfacesIModelObject
ImplementorsAbstractTypeable

Defines the methods that objects that participate in a validation operation.



Public Methods
 MethodDefined by
  
supports(value:*):Boolean
Returns true if the IValidator object validate the value.
IValidator
  
validate(value:*):void
Evaluates the condition it checks and updates the IsValid property.
IValidator
Method detail
supports()method
public function supports(value:*):Boolean

Returns true if the IValidator object validate the value.

Parameters
value:*

Returns
Booleantrue is this specific value is valid.
validate()method 
public function validate(value:*):void

Evaluates the condition it checks and updates the IsValid property.

Parameters
value:*