com.ibm.xsp.validator
Class ValidatorImpl

java.lang.Object
  extended by com.ibm.xsp.validator.ValidatorImpl
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.faces.validator.Validator

public final class ValidatorImpl
extends java.lang.Object
implements javax.faces.validator.Validator, java.io.Serializable

The xp:validator tag, which acts as a factory and wrapper for validators created by calling Application.createValidator(java.lang.String).

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.faces.validator.Validator
NOT_IN_RANGE_MESSAGE_ID
 
Constructor Summary
ValidatorImpl()
           
 
Method Summary
 java.lang.String getValidatorId()
           
 void setValidatorId(java.lang.String validatorId)
           
 void validate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorImpl

public ValidatorImpl()
Method Detail

validate

public void validate(javax.faces.context.FacesContext context,
                     javax.faces.component.UIComponent component,
                     java.lang.Object value)
              throws javax.faces.validator.ValidatorException
Specified by:
validate in interface javax.faces.validator.Validator
Throws:
javax.faces.validator.ValidatorException

getValidatorId

public java.lang.String getValidatorId()
Returns:
Returns the validatorId.

setValidatorId

public void setValidatorId(java.lang.String validatorId)
Parameters:
validatorId - The validatorId to set.