public class UTF8AnyCharacterPatternConstraint extends ValidCharactersPatternConstraint
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowWhitespace |
protected boolean |
omitNewline |
valueapplyClientSide, constraintStateOverrides, messageComponentCode, messageKey, messageNamespaceCode, states, validationMessageParamscomponentCode, namespaceCode| Constructor and Description |
|---|
UTF8AnyCharacterPatternConstraint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowWhitespace() |
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()
This method returns a string representing a regex with characters to match, this string
should not include the start(^) and end($) symbols or any length related symbols (*, {0,},
etc)
|
boolean |
isOmitNewline() |
void |
setAllowWhitespace(boolean allowWhitespace) |
void |
setOmitNewline(boolean omitNewline)
When set to true, omit new line characters from the set of valid characters.
|
getValue, setValuecompleteValidationgetApplyClientSide, getConstraintStateOverrides, getMessageComponentCode, getMessageNamespaceCode, getStates, getValidationMessageParams, getValidationMessageParamsArray, setApplyClientSide, setConstraintStateOverrides, setMessageComponentCode, setMessageKey, setMessageNamespaceCode, setStates, setValidationMessageParamsclone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeprotected boolean allowWhitespace
protected boolean omitNewline
public UTF8AnyCharacterPatternConstraint()
public boolean getAllowWhitespace()
public void setAllowWhitespace(boolean allowWhitespace)
allowWhitespace - protected String getRegexString()
getRegexString in class ValidCharactersPatternConstraintpublic String getMessageKey()
BaseConstraintgetMessageKey in class BaseConstraintBaseConstraint.getMessageKey()public boolean isOmitNewline()
public void setOmitNewline(boolean omitNewline)
omitNewline - Copyright © 2005–2015 The Kuali Foundation. All rights reserved.