O - type of the bean to validate.@Deprecated public class XWork2ScopeValidator<O> extends Object
validate(Object) to obtain the messages detected by
the validator for the given bean.| Modifier and Type | Field and Description |
|---|---|
protected String |
context
Deprecated.
the validation named context (can be null)
|
protected static Map<String,List<String>> |
EMPTY_RESULT
Deprecated.
|
protected Set<String> |
fieldNames
Deprecated.
the list of field names detected for this validator
|
protected Class<O> |
type
Deprecated.
the type of bean to validate
|
protected com.opensymphony.xwork2.validator.DelegatingValidatorContext |
validationContext
Deprecated.
|
protected com.opensymphony.xwork2.ValidationAwareSupport |
validationSupport
Deprecated.
|
protected com.opensymphony.xwork2.validator.ActionValidatorManager |
validator
Deprecated.
|
protected com.opensymphony.xwork2.util.ValueStack |
vs
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
protected |
XWork2ScopeValidator(Class<O> type,
String context,
Set<String> fieldNames,
com.opensymphony.xwork2.util.ValueStack vs)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsField(String fieldName)
Deprecated.
Test if the validator contains the field given his name
|
String |
getContext()
Deprecated.
|
Set<String> |
getFieldNames()
Deprecated.
|
Class<O> |
getType()
Deprecated.
|
com.opensymphony.xwork2.validator.ActionValidatorManager |
getValidator()
Deprecated.
|
String |
toString()
Deprecated.
|
Map<String,List<String>> |
validate(O bean)
Deprecated.
Valide le bean donné et retourne les messages produits.
|
protected String context
protected Set<String> fieldNames
protected com.opensymphony.xwork2.ValidationAwareSupport validationSupport
protected com.opensymphony.xwork2.validator.DelegatingValidatorContext validationContext
protected com.opensymphony.xwork2.validator.ActionValidatorManager validator
protected com.opensymphony.xwork2.util.ValueStack vs
public String getContext()
public com.opensymphony.xwork2.validator.ActionValidatorManager getValidator()
public boolean containsField(String fieldName)
fieldName - the name of the searched fieldtrue if validator contaisn this field,
false otherwisepublic Map<String,List<String>> validate(O bean)
bean - le bean a valider (il doit etre non null)Copyright © 2011-2013 CodeLutin. All Rights Reserved.