net.sf.yavtags.rules
Class Alphanumeric

java.lang.Object
  extended by net.sf.yavtags.rules.YavRule
      extended by net.sf.yavtags.rules.Alphanumeric

public class Alphanumeric
extends YavRule

Value must contain only a-z, A-Z or 0-9 characters.


Field Summary
 
Fields inherited from class net.sf.yavtags.rules.YavRule
i18nKeys, parameterMap, previousRules, yavConfig
 
Constructor Summary
Alphanumeric(java.lang.String rule, java.util.List<YavRule> yavRules, YavConfig yavConfig)
           
 
Method Summary
 YavError checkError(java.lang.String value)
           
 
Methods inherited from class net.sf.yavtags.rules.YavRule
checkError, existsIndependentRuleForFieldName, getDependantRule, getFieldLabel, getFieldName, getI18nKeys, getMetanameLabel, getMetanameLabel, getProcessedValue, getProcessedValue, getRule, getRuleSuffix, getRuleType, hasFieldLabel, parseRule, setLocalizedFieldLabel, setParameterMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Alphanumeric

public Alphanumeric(java.lang.String rule,
                    java.util.List<YavRule> yavRules,
                    YavConfig yavConfig)
             throws java.text.ParseException
Throws:
java.text.ParseException
Method Detail

checkError

public YavError checkError(java.lang.String value)
Specified by:
checkError in class YavRule