net.sf.yavtags.rules
Class PreCondition

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

public class PreCondition
extends YavRule

Dummy implementation, the subrule contained will be validated after.


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

PreCondition

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