org.kuali.rice.krad.datadictionary.validation.constraint
Class AnyCharacterPatternConstraint
java.lang.Object
   org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint
       org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersConstraint
           org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersPatternConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.ValidCharactersPatternConstraint
               org.kuali.rice.krad.datadictionary.validation.constraint.AnyCharacterPatternConstraint
org.kuali.rice.krad.datadictionary.validation.constraint.AnyCharacterPatternConstraint
- All Implemented Interfaces: 
- Serializable, Constraint
- public class AnyCharacterPatternConstraint 
- extends ValidCharactersPatternConstraint
Pattern for matching any printable character
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
 
 
 
 
| Method Summary | 
|  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.
 | 
 
 
 
| Methods inherited from class org.kuali.rice.krad.datadictionary.validation.constraint.BaseConstraint | 
| getApplyClientSide, getConstraintStateOverrides, getMessageComponentCode, getMessageNamespaceCode, getStates, getValidationMessageParams, getValidationMessageParamsArray, setApplyClientSide, setConstraintStateOverrides, setMessageComponentCode, setMessageKey, setMessageNamespaceCode, setStates, setValidationMessageParams | 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
allowWhitespace
protected boolean allowWhitespace
omitNewline
protected boolean omitNewline
AnyCharacterPatternConstraint
public AnyCharacterPatternConstraint()
getAllowWhitespace
public boolean getAllowWhitespace()
- 
- Returns:
- allowWhitespace
 
setAllowWhitespace
public void setAllowWhitespace(boolean allowWhitespace)
- 
- Parameters:
- allowWhitespace-
 
getRegexString
protected String getRegexString()
- Description copied from class: ValidCharactersPatternConstraint
- 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)
 
- 
- Specified by:
- getRegexStringin class- ValidCharactersPatternConstraint
 
- 
- Returns:
- See Also:
- ValidationPattern.getRegexString()
 
getMessageKey
public String getMessageKey()
- Description copied from class: BaseConstraint
- A key that is used to retrieve the constraint message text (used with the namespace and component
 code if specified)
 
- 
- Overrides:
- getMessageKeyin class- BaseConstraint
 
- 
- Returns:
- String message key
- See Also:
- BaseConstraint.getMessageKey()
 
isOmitNewline
public boolean isOmitNewline()
- 
 
setOmitNewline
public void setOmitNewline(boolean omitNewline)
- When set to true, omit new line characters from the set of valid characters.  This flag
 will only have an effect if the allowWhitespace flag is true, otherwise all whitespace
 including new lines characters are omitted.
 
- 
- Parameters:
- omitNewline-
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.