public class CharsetPatternConstraint extends ValidCharactersPatternConstraint
Modifier and Type | Field and Description |
---|---|
protected String |
validChars |
value
applyClientSide, 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, setValue
getApplyClientSide, getConstraintStateOverrides, getMessageComponentCode, getMessageNamespaceCode, getStates, getValidationMessageParamsArray, setApplyClientSide, setConstraintStateOverrides, setMessageComponentCode, setMessageKey, setMessageNamespaceCode, setStates, setValidationMessageParams
protected String validChars
public CharsetPatternConstraint()
public String getValidChars()
public void setValidChars(String validChars)
validChars
- for this charsetprotected String getRegexString()
getRegexString
in class ValidCharactersPatternConstraint
ValidationPattern.getRegexString()
public String getMessageKey()
BaseConstraint
getMessageKey
in class BaseConstraint
BaseConstraint.getMessageKey()
public List<String> getValidationMessageParams()
getValidationMessageParams
in class BaseConstraint
public void completeValidation(ValidationTrace tracer)
completeValidation
in class ValidCharactersConstraint
tracer
- Record of component's locationCopyright © 2005–2015 The Kuali Foundation. All rights reserved.