net.sf.yavtags.rules
Class Mask
java.lang.Object
net.sf.yavtags.rules.YavRule
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).
Constructor Summary |
Mask(java.lang.String rule,
java.util.List<YavRule> yavRules,
java.util.Map<java.lang.String,YavMask> yavMasks,
YavConfig yavConfig)
|
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 |
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
checkError
public YavError checkError(java.lang.String value)
- Specified by:
checkError
in class YavRule