org.apache.myfaces.trinidadinternal.validator
Class LengthValidator

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

@JSFValidator(name="tr:validateLength",
              bodyContent="empty",
              id="org.apache.myfaces.trinidad.Length",
              tagClass="org.apache.myfaces.trinidadinternal.taglib.validator.ValidateLengthTag")
public class LengthValidator
extends org.apache.myfaces.trinidad.validator.LengthValidator
implements org.apache.myfaces.trinidad.validator.ClientValidator

Implementation for length of java.lang.String values.


Field Summary
 
Fields inherited from class org.apache.myfaces.trinidad.validator.LengthValidator
EXACT_MESSAGE_ID, MAXIMUM_MESSAGE_ID, MINIMUM_MESSAGE_ID, NOT_IN_RANGE_MESSAGE_ID, VALIDATOR_ID
 
Constructor Summary
LengthValidator()
           
 
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)
           
 
Methods inherited from class org.apache.myfaces.trinidad.validator.LengthValidator
getHintExact, getHintMaximum, getHintMinimum, getHintNotInRange, getMaximum, getMessageDetailExact, getMessageDetailMaximum, getMessageDetailMinimum, getMessageDetailNotInRange, getMinimum, getValueBinding, getValueExpression, isMaximumSet, isMinimumSet, isTransient, restoreState, saveState, setHintExact, setHintMaximum, setHintMinimum, setHintNotInRange, setMaximum, setMessageDetailExact, setMessageDetailMaximum, setMessageDetailMinimum, setMessageDetailNotInRange, setMinimum, setTransient, setValueBinding, setValueExpression, validate
 
Methods inherited from class javax.faces.validator.LengthValidator
clearInitialState, equals, hashCode, initialStateMarked, markInitialState
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LengthValidator

public LengthValidator()
Method Detail

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-2011 The Apache Software Foundation. All Rights Reserved.