se.kmr.scam.editor.validation
Interface Validator


public interface Validator


Method Summary
 void check(ArrayList nodeErrors)
          Asks children to check their validators and to check if they occur in the NodeError Arraylist.
 String description()
           
 boolean isValid(FormNode formNode)
           
 

Method Detail

isValid

public boolean isValid(FormNode formNode)
Returns:
true if the field is valid, else false.

description

public String description()
Returns:
a description of what this validator checks.

check

public void check(ArrayList nodeErrors)
Asks children to check their validators and to check if they occur in the NodeError Arraylist.



Copyright © 2003 SCAM. All Rights Reserved.