public class ValidationAttribute extends AbstractAttributeSpi
| Constructor and Description |
|---|
ValidationAttribute() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAnnotations()
Returns all the validation annotations for the attribute.
|
String |
getCharPaddingAnnotation() |
String |
getDigitsAnnotation() |
String |
getEmailAnnotation() |
String |
getFixedLengthAnnotation() |
String |
getLengthAnnotation() |
String |
getNotEmptyAnnotation() |
String |
getNotNullAnnotation() |
String |
getSafeHtmlAnnotation() |
String |
getUrlAnnotation() |
String |
velocityVar()
The var name under which this AttributeSpi is available during template evaluation.
|
addImport, initpublic String velocityVar()
AttributeSpivelocityVar() methods returns myextension,
the corresponding AttributeSpi implementation instance is given by $attribute.myextension.public List<String> getAnnotations()
public String getSafeHtmlAnnotation()
public String getUrlAnnotation()
public String getCharPaddingAnnotation()
public String getNotNullAnnotation()
public String getNotEmptyAnnotation()
public String getFixedLengthAnnotation()
public String getLengthAnnotation()
public String getEmailAnnotation()
public String getDigitsAnnotation()
Copyright © 2005-2013 JAXIO S.A.R.L. - All Rights Reserved.