public class AnyCharacterPatternConstraint extends ValidCharactersPatternConstraint
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allowWhitespace |
protected boolean |
omitNewline |
valueapplyClientSide, labelKey| Constructor and Description |
|---|
AnyCharacterPatternConstraint() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowWhitespace() |
String |
getLabelKey()
LabelKey should be a single word key.
|
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, setValuegetApplyClientSide, getValidationMessageParams, getValidationMessageParamsArray, setApplyClientSide, setLabelKey, setValidationMessageParamsprotected boolean allowWhitespace
protected boolean omitNewline
public AnyCharacterPatternConstraint()
public boolean getAllowWhitespace()
public void setAllowWhitespace(boolean allowWhitespace)
allowWhitespace - protected String getRegexString()
ValidCharactersPatternConstraintgetRegexString in class ValidCharactersPatternConstraintValidationPattern.getRegexString()public String getLabelKey()
BaseConstraintgetLabelKey in class BaseConstraintBaseConstraint.getLabelKey()public boolean isOmitNewline()
public void setOmitNewline(boolean omitNewline)
omitNewline - Copyright © 2005–2016 The Kuali Foundation. All rights reserved.