source: ComponentRegistry/trunk/ComponentRegistry/src/main/java/clarin/cmdi/componentregistry/rest/Validator.java @ 127

Last change on this file since 127 was 127, checked in by patdui, 14 years ago
  • added validation on nested components, they should all be registered!
  • Added heuristics to registryFiller to help with initialisation of the registry (really not for general use!).
  • added proper xlink namespace to the descriptions.
File size: 371 bytes
Line 
1package clarin.cmdi.componentregistry.rest;
2
3import java.util.List;
4
5public interface Validator {
6
7   
8    /**
9     *
10     * @return the errormessage that might have been created by the validate().
11     */
12    public List<String> getErrorMessages();
13
14    /**
15     * Validate and create an error message when something is wrong.
16     */
17    public boolean validate();
18
19}
Note: See TracBrowser for help on using the repository browser.