org.apache.myfaces.extensions.validator.baseval.strategy
Class SkipValidationStrategy
java.lang.Object
org.apache.myfaces.extensions.validator.baseval.strategy.SkipValidationStrategy
- All Implemented Interfaces:
- ValidationStrategy
@NullValueAwareValidationStrategy
@EmptyValueAwareValidationStrategy
public class SkipValidationStrategy
- extends Object
- implements ValidationStrategy
- Since:
- 1.x.1
- Author:
- Gerhard Petracek
Method Summary |
void |
validate(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
MetaDataEntry metaDataEntry,
Object convertedObject)
Validates the convertedObject against the given MetaDataEntry . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SkipValidationStrategy
public SkipValidationStrategy()
validate
public void validate(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent uiComponent,
MetaDataEntry metaDataEntry,
Object convertedObject)
throws javax.faces.validator.ValidatorException
- Description copied from interface:
ValidationStrategy
- Validates the convertedObject against the given
MetaDataEntry
.
- Specified by:
validate
in interface ValidationStrategy
- Parameters:
facesContext
- The JSF ContextuiComponent
- The JSF component that contained the value entered by the user.metaDataEntry
- The data holder which stores the meta-data and some information where the meta-data was
around.convertedObject
- Converted object of the user entered value.
- Throws:
javax.faces.validator.ValidatorException
Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.