Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.gui4j
Interface Gui4jValidator  view Gui4jValidator download Gui4jValidator.java


public interface Gui4jValidator


Method Summary
 int validateExistenceOfGuiIDs(java.lang.Class controllerClass, java.lang.String resourceName, java.util.List ids)
           
 boolean validateResourceFile(java.lang.Class controllerClass, java.lang.String resourceName)
          Reads the given resource file and checks if the syntax and all reflection calls are still valid.
 

Method Detail

validateResourceFile

public boolean validateResourceFile(java.lang.Class controllerClass,
                                    java.lang.String resourceName)
Reads the given resource file and checks if the syntax and all reflection calls are still valid. This method can be used in JUnit test to ensure that XML resource files are valid.


validateExistenceOfGuiIDs

public int validateExistenceOfGuiIDs(java.lang.Class controllerClass,
                                     java.lang.String resourceName,
                                     java.util.List ids)