Protege 3.4.5

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

Method Summary
 String getErrorMessage(Object o)
           
 boolean isValid(Object o)
           
 

Method Detail

getErrorMessage

String getErrorMessage(Object o)

isValid

boolean isValid(Object o)

Protege 3.4.5

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2011 Stanford University.