public class CharsetPatternConstraint extends ValidCharactersPatternConstraint
| Modifier and Type | Field and Description |
|---|---|
protected String |
validChars |
valueapplyClientSide, labelKey| Constructor and Description |
|---|
CharsetPatternConstraint() |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabelKey()
LabelKey should be a single word key.
|
protected String |
getRegexString()
Escapes every special character I could think of, to limit potential misuse of this pattern.
|
List<String> |
getValidationMessageParams()
Parameters to be used in the string retrieved by this constraint's labelKey
|
String |
getValidChars() |
void |
setValidChars(String validChars) |
getValue, setValuegetApplyClientSide, getValidationMessageParamsArray, setApplyClientSide, setLabelKey, setValidationMessageParamsprotected String validChars
public CharsetPatternConstraint()
public String getValidChars()
public void setValidChars(String validChars)
validChars - for this charsetprotected String getRegexString()
getRegexString in class ValidCharactersPatternConstraintValidationPattern.getRegexString()public String getLabelKey()
BaseConstraintgetLabelKey in class BaseConstraintBaseConstraint.getLabelKey()public List<String> getValidationMessageParams()
getValidationMessageParams in class BaseConstraintCopyright © 2005–2016 The Kuali Foundation. All rights reserved.