public class CharsetPatternConstraint extends ValidCharactersPatternConstraint
| Modifier and Type | Field and Description |
|---|---|
protected String |
validChars |
valueapplyClientSide, constraintStateOverrides, messageComponentCode, messageKey, messageNamespaceCode, states, validationMessageParams| Constructor and Description |
|---|
CharsetPatternConstraint() |
| Modifier and Type | Method and Description |
|---|---|
void |
completeValidation(ValidationTrace tracer)
Validates different requirements of component compiling a series of reports detailing information on errors
found in the component.
|
String |
getMessageKey()
A key that is used to retrieve the constraint message text (used with the namespace and component
code if specified)
|
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 messageKey
|
String |
getValidChars() |
void |
setValidChars(String validChars) |
getValue, setValuegetApplyClientSide, getConstraintStateOverrides, getMessageComponentCode, getMessageNamespaceCode, getStates, getValidationMessageParamsArray, setApplyClientSide, setConstraintStateOverrides, setMessageComponentCode, setMessageKey, setMessageNamespaceCode, setStates, 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 getMessageKey()
BaseConstraintgetMessageKey in class BaseConstraintBaseConstraint.getMessageKey()public List<String> getValidationMessageParams()
getValidationMessageParams in class BaseConstraintpublic void completeValidation(ValidationTrace tracer)
completeValidation in class ValidCharactersConstrainttracer - Record of component's locationCopyright © 2005–2015 The Kuali Foundation. All rights reserved.