public class AnyCharacterPatternConstraint extends ValidCharactersPatternConstraint
Modifier and Type | Field and Description |
---|---|
protected boolean |
allowWhitespace |
protected boolean |
omitNewline |
value
applyClientSide, constraintStateOverrides, messageComponentCode, messageKey, messageNamespaceCode, states, validationMessageParams
componentCode, namespaceCode
Constructor and Description |
---|
AnyCharacterPatternConstraint() |
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, setValue
completeValidation
getApplyClientSide, getConstraintStateOverrides, getMessageComponentCode, getMessageNamespaceCode, getStates, getValidationMessageParams, getValidationMessageParamsArray, setApplyClientSide, setConstraintStateOverrides, setMessageComponentCode, setMessageKey, setMessageNamespaceCode, setStates, setValidationMessageParams
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
protected boolean allowWhitespace
protected boolean omitNewline
public AnyCharacterPatternConstraint()
public boolean getAllowWhitespace()
public void setAllowWhitespace(boolean allowWhitespace)
allowWhitespace
- protected String getRegexString()
getRegexString
in class ValidCharactersPatternConstraint
public String getMessageKey()
BaseConstraint
getMessageKey
in class BaseConstraint
BaseConstraint.getMessageKey()
public boolean isOmitNewline()
public void setOmitNewline(boolean omitNewline)
omitNewline
- Copyright © 2005–2015 The Kuali Foundation. All rights reserved.