public class DefaultValidationErrorConfig extends Object implements ValidationErrorConfig
| Constructor and Description |
|---|
DefaultValidationErrorConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFieldKeysPrefix()
The prefix of fields name in the resource file (ex : myplugin.model.entity.product.field." )
|
String |
getFieldWrapperBegin()
Returns the begin wrapper string for fieldname rendering (ex : "'" or "<strong">" )
|
String |
getFieldWrapperEnd()
Returns the end wrapper string for fieldname rendering (ex : "'" or "</strong">" )
|
String |
getValue1Attributes()
Returns the list of constraint descriptor attribute that will appear in the value#1 of the message
|
String |
getValue2Attributes()
Returns the list of constraint descriptor attribute that will appear in the value#2 of the message
|
String[] |
getVariablesPrefix()
The array of all variables prefix
|
void |
setFieldKeysPrefix(String strFieldKeysPrefix) |
public String getValue1Attributes()
getValue1Attributes in interface ValidationErrorConfigpublic String getValue2Attributes()
getValue2Attributes in interface ValidationErrorConfigpublic String[] getVariablesPrefix()
getVariablesPrefix in interface ValidationErrorConfigpublic String getFieldKeysPrefix()
getFieldKeysPrefix in interface ValidationErrorConfigpublic void setFieldKeysPrefix(String strFieldKeysPrefix)
strFieldKeysPrefix - the _strFieldKeysPrefix to setpublic String getFieldWrapperBegin()
getFieldWrapperBegin in interface ValidationErrorConfigpublic String getFieldWrapperEnd()
getFieldWrapperEnd in interface ValidationErrorConfigCopyright © 2020 City of Paris. All rights reserved.