org.kuali.rice.kns.datadictionary.validation.charlevel
Class UTF8AnyCharacterValidationPattern

java.lang.Object
  extended by org.kuali.rice.krad.datadictionary.validation.ValidationPattern
      extended by org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern
          extended by org.kuali.rice.kns.datadictionary.validation.charlevel.UTF8AnyCharacterValidationPattern
All Implemented Interfaces:
Serializable

public class UTF8AnyCharacterValidationPattern
extends CharacterLevelValidationPattern

Pattern for matching any UTF-8 character with whitespace option

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.krad.datadictionary.validation.ValidationPattern
ValidationPattern.ValidationPatternException
 
Field Summary
protected  boolean allowWhitespace
           
 
Fields inherited from class org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern
exactLength, maxLength, regexPattern
 
Constructor Summary
UTF8AnyCharacterValidationPattern()
           
 
Method Summary
 void extendExportMap(ExportMap exportMap)
          This overridden method ...
 boolean getAllowWhitespace()
           
protected  String getRegexString()
          This overridden method ...
protected  String getValidationErrorMessageKeyOptions()
           
 void setAllowWhitespace(boolean allowWhitespace)
           
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.CharacterLevelValidationPattern
buildExportMap, getExactLength, getMaxLength, getRegexPattern, getValidationErrorMessageKey, getValidationErrorMessageParameters, setExactLength, setMaxLength
 
Methods inherited from class org.kuali.rice.krad.datadictionary.validation.ValidationPattern
completeValidation, matches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

allowWhitespace

protected boolean allowWhitespace
Constructor Detail

UTF8AnyCharacterValidationPattern

public UTF8AnyCharacterValidationPattern()
Method Detail

getAllowWhitespace

public boolean getAllowWhitespace()
Returns:
allowWhitespace

setAllowWhitespace

public void setAllowWhitespace(boolean allowWhitespace)
Parameters:
allowWhitespace -

getRegexString

protected String getRegexString()
This overridden method ...

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:
CharacterLevelValidationPattern.extendExportMap(org.kuali.rice.krad.datadictionary.exporter.ExportMap)

extendExportMap

public void extendExportMap(ExportMap exportMap)
This overridden method ...

Specified by:
extendExportMap in class CharacterLevelValidationPattern
See Also:
ValidationPattern.getRegexString()

getValidationErrorMessageKeyOptions

protected String getValidationErrorMessageKeyOptions()
Overrides:
getValidationErrorMessageKeyOptions in class CharacterLevelValidationPattern


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.