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

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.AnyCharacterValidationPattern
All Implemented Interfaces:
Serializable

public class AnyCharacterValidationPattern
extends CharacterLevelValidationPattern

Pattern for matching any printable character

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
AnyCharacterValidationPattern()
           
 
Method Summary
 void extendExportMap(ExportMap exportMap)
          Extends the given (parent class) exportMap as needed to represent subclass instances
 boolean getAllowWhitespace()
           
protected  String getRegexString()
           
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

AnyCharacterValidationPattern

public AnyCharacterValidationPattern()
Method Detail

getAllowWhitespace

public boolean getAllowWhitespace()
Returns:
allowWhitespace

setAllowWhitespace

public void setAllowWhitespace(boolean allowWhitespace)
Parameters:
allowWhitespace -

getRegexString

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

getValidationErrorMessageKeyOptions

protected String getValidationErrorMessageKeyOptions()
Overrides:
getValidationErrorMessageKeyOptions in class CharacterLevelValidationPattern


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