org.apache.beehive.netui.compiler.model.validation
Class ValidationModel

Object
  extended by ValidationModel
Direct Known Subclasses:
GenValidationModel

public abstract class ValidationModel
extends Object


Nested Class Summary
static class ValidationModel.RuleInfo
           
 
Constructor Summary
ValidationModel()
           
 
Method Summary
 void addFieldRule(ValidationModel.RuleInfo ruleInfo, ValidatorRule rule, Locale locale)
           
 void addFieldRuleForAllLocales(ValidationModel.RuleInfo ruleInfo, ValidatorRule rule)
           
protected  String getHeaderComment(File mergeFile)
           
abstract  String getOutputFileURI()
           
 boolean isEmpty()
           
protected  void setEmpty(boolean empty)
           
 void writeXml(PrintStream outputStream, File mergeFile)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationModel

public ValidationModel()
Method Detail

addFieldRuleForAllLocales

public void addFieldRuleForAllLocales(ValidationModel.RuleInfo ruleInfo,
                                      ValidatorRule rule)

addFieldRule

public void addFieldRule(ValidationModel.RuleInfo ruleInfo,
                         ValidatorRule rule,
                         Locale locale)

writeXml

public void writeXml(PrintStream outputStream,
                     File mergeFile)
              throws XmlException,
                     IOException
Throws:
XmlException
IOException

getHeaderComment

protected String getHeaderComment(File mergeFile)

isEmpty

public boolean isEmpty()

setEmpty

protected void setEmpty(boolean empty)

getOutputFileURI

public abstract String getOutputFileURI()