edu.stanford.smi.protege.util
Class SymbolValidator
java.lang.Object
edu.stanford.smi.protege.util.SymbolValidator
- All Implemented Interfaces:
- Validator
public class SymbolValidator
- extends Object
- implements Validator
A validator that tests whether a string is a valid Protege symbol type. Symbols may not contain spaces or parenthesis.
- Author:
- Ray Fergerson
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SymbolValidator
public SymbolValidator()
getErrorMessage
public String getErrorMessage(Object o)
- Specified by:
getErrorMessage
in interface Validator
isValid
public boolean isValid(Object o)
- Specified by:
isValid
in interface Validator
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2011 Stanford University.