
edu.stanford.smi.protege.util.Validator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protege Show documentation
Show all versions of protege Show documentation
Core code for the Protege ontology editor. Serves as the basis for the Protege-Frames and Protege-OWL editors.
package edu.stanford.smi.protege.util;
/**
* An interface that encapsulates the logic that decides if a particular object is "valid" in some context. If the
* object is invalid then an error message is supplied.
*
* @author Ray Fergerson
*/
public interface Validator {
String getErrorMessage(Object o);
boolean isValid(Object o);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy