org.kuali.rice.kns.datadictionary.validation.charlevel
Class CharsetValidationPattern
java.lang.Object
org.kuali.rice.krad.datadictionary.validation.ValidationPattern
org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern
org.kuali.rice.kns.datadictionary.validation.charlevel.CharsetValidationPattern
- All Implemented Interfaces:
- Serializable
public class CharsetValidationPattern
- extends CharacterLevelValidationPattern
Pattern for matching any character in the given list (String)
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
validChars
protected String validChars
CharsetValidationPattern
public CharsetValidationPattern()
getValidChars
public String getValidChars()
- Returns:
- String containing all valid chars for this charset
setValidChars
public void setValidChars(String validChars)
- Parameters:
validChars
- for this charset
getRegexString
protected String getRegexString()
- Escapes every special character I could think of, to limit potential misuse of this pattern.
- Specified by:
getRegexString
in class ValidationPattern
- Returns:
- String version of regular expression base, suitable for modification with length-specifiers and used internally by
getRegexPattern
- See Also:
ValidationPattern.getRegexString()
extendExportMap
public void extendExportMap(ExportMap exportMap)
- Description copied from class:
CharacterLevelValidationPattern
- Extends the given (parent class) exportMap as needed to represent subclass instances
- Specified by:
extendExportMap
in class CharacterLevelValidationPattern
- See Also:
org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern#extendExportMap(org.kuali.bo.datadictionary.exporter.ExportMap)
getValidationErrorMessageParameters
public String[] getValidationErrorMessageParameters(String attributeLabel)
- This overridden method ...
- Overrides:
getValidationErrorMessageParameters
in class CharacterLevelValidationPattern
- See Also:
org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern#getValidationErrorMessageParameters(java.lang.String, java.lang.String)
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.