net.sf.yavtags.rules
Class Mask

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

public class Mask
extends YavRule

Mask name could be: - An yav embedded mask: alphabetic, alphanumeric, alnumhyphen, alnumhyphenat, alphaspace - A previously added custom mask (see yav:mask tag). - In any other case, the characters in the name are the only ones accepted (plus the format String characters).


Field Summary
 
Fields inherited from class net.sf.yavtags.rules.YavRule
i18nKeys, parameterMap, previousRules, yavConfig
 
Constructor Summary
Mask(java.lang.String rule, java.util.List<YavRule> yavRules, java.util.Map<java.lang.String,YavMask> yavMasks, 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

Mask

public Mask(java.lang.String rule,
            java.util.List<YavRule> yavRules,
            java.util.Map<java.lang.String,YavMask> yavMasks,
            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