org.apache.myfaces.trinidadinternal.validator
Class DateRestrictionValidator

java.lang.Object
  extended by org.apache.myfaces.trinidad.validator.DateRestrictionValidator
      extended by org.apache.myfaces.trinidadinternal.validator.DateRestrictionValidator
All Implemented Interfaces:
java.util.EventListener, javax.faces.component.StateHolder, javax.faces.validator.Validator, org.apache.myfaces.trinidad.validator.ClientValidator

public class DateRestrictionValidator
extends org.apache.myfaces.trinidad.validator.DateRestrictionValidator
implements org.apache.myfaces.trinidad.validator.ClientValidator

Author:
Matthias Wessendorf

Field Summary
 
Fields inherited from class org.apache.myfaces.trinidad.validator.DateRestrictionValidator
DAY_MESSAGE_ID, MONTH_MESSAGE_ID, VALIDATOR_ID, WEEKDAY_MESSAGE_ID
 
Fields inherited from interface javax.faces.validator.Validator
NOT_IN_RANGE_MESSAGE_ID
 
Constructor Summary
DateRestrictionValidator()
           
 
Method Summary
 java.util.Collection<java.lang.String> getClientImportNames()
           
 java.lang.String getClientLibrarySource(javax.faces.context.FacesContext context)
           
 java.lang.String getClientScript(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 java.lang.String getClientValidation(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 void validate(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, java.lang.Object value)
           
 
Methods inherited from class org.apache.myfaces.trinidad.validator.DateRestrictionValidator
equals, getCalendar, getDateValue, getHintInvalidDaysOfWeek, getHintInvalidMonths, getInvalidDays, getInvalidDaysOfWeek, getInvalidMonths, getMessageDetailInvalidDays, getMessageDetailInvalidDaysOfWeek, getMessageDetailInvalidMonths, getValueBinding, hashCode, isTransient, restoreState, saveState, setHintInvalidDaysOfWeek, setHintInvalidMonths, setInvalidDays, setInvalidDaysOfWeek, setInvalidMonths, setMessageDetailInvalidDays, setMessageDetailInvalidDaysOfWeek, setMessageDetailInvalidMonths, setTransient, setValueBinding
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateRestrictionValidator

public DateRestrictionValidator()
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
Overrides:
validate in class org.apache.myfaces.trinidad.validator.DateRestrictionValidator
Throws:
javax.faces.validator.ValidatorException

getClientImportNames

public java.util.Collection<java.lang.String> getClientImportNames()
Specified by:
getClientImportNames in interface org.apache.myfaces.trinidad.validator.ClientValidator

getClientScript

public java.lang.String getClientScript(javax.faces.context.FacesContext context,
                                        javax.faces.component.UIComponent component)
Specified by:
getClientScript in interface org.apache.myfaces.trinidad.validator.ClientValidator

getClientValidation

public java.lang.String getClientValidation(javax.faces.context.FacesContext context,
                                            javax.faces.component.UIComponent component)
Specified by:
getClientValidation in interface org.apache.myfaces.trinidad.validator.ClientValidator

getClientLibrarySource

public java.lang.String getClientLibrarySource(javax.faces.context.FacesContext context)
Specified by:
getClientLibrarySource in interface org.apache.myfaces.trinidad.validator.ClientValidator


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.