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 ValidationErrorConfig
public String getValue2Attributes()
getValue2Attributes
in interface ValidationErrorConfig
public String[] getVariablesPrefix()
getVariablesPrefix
in interface ValidationErrorConfig
public String getFieldKeysPrefix()
getFieldKeysPrefix
in interface ValidationErrorConfig
public void setFieldKeysPrefix(String strFieldKeysPrefix)
strFieldKeysPrefix
- the _strFieldKeysPrefix to setpublic String getFieldWrapperBegin()
getFieldWrapperBegin
in interface ValidationErrorConfig
public String getFieldWrapperEnd()
getFieldWrapperEnd
in interface ValidationErrorConfig
Copyright © 2020 City of Paris. All rights reserved.