edu.stanford.smi.protege.util
Interface Validator
- All Known Subinterfaces:
- NumberValidator
- All Known Implementing Classes:
- FloatValidator, IntegerValidator, SymbolValidator
public interface Validator
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
getErrorMessage
String getErrorMessage(Object o)
isValid
boolean isValid(Object o)
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2007 Stanford University.