net.sf.yavtags.rules
Class Alnumhyphen

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

public class Alnumhyphen
extends YavRule

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


Field Summary
 
Fields inherited from class net.sf.yavtags.rules.YavRule
i18nKeys, parameterMap, previousRules, yavConfig
 
Constructor Summary
Alnumhyphen(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

Alnumhyphen

public Alnumhyphen(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