org.openfaces.validation
Interface CoreValidator

All Known Implementing Classes:
CoreValidatorImpl

public interface CoreValidator

A CoreValidator

implementation is a class that can perform validation.


Method Summary
 java.util.List<ClientValidator> getClientValidatorsForComponent(javax.faces.component.UIComponent component, javax.el.ELContext elContext)
           
 org.hibernate.validator.InvalidValue[] validate(javax.el.ValueExpression valueExpression, javax.el.ELContext elContext, java.lang.Object value)
          Validate that the given value can be assigned to the property given by the value expression.
 

Method Detail

validate

org.hibernate.validator.InvalidValue[] validate(javax.el.ValueExpression valueExpression,
                                                javax.el.ELContext elContext,
                                                java.lang.Object value)
Validate that the given value can be assigned to the property given by the value expression.

Parameters:
valueExpression - a value expression, referring to a property
elContext - the ELContext in which to evaluate the expression
value - a value to be assigned to the property
Returns:
a set of potential InvalidValues, from Hibernate Validator

getClientValidatorsForComponent

java.util.List<ClientValidator> getClientValidatorsForComponent(javax.faces.component.UIComponent component,
                                                                javax.el.ELContext elContext)


Copyright © 1998-2010 TeamDev Ltd. All Rights Reserved.