Protege 3.4.3

edu.stanford.smi.protege.util
Class SymbolValidator

java.lang.Object
  extended by 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

Constructor Summary
SymbolValidator()
           
 
Method Summary
 String getErrorMessage(Object o)
           
 boolean isValid(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymbolValidator

public SymbolValidator()
Method Detail

getErrorMessage

public String getErrorMessage(Object o)
Specified by:
getErrorMessage in interface Validator

isValid

public boolean isValid(Object o)
Specified by:
isValid in interface Validator

Protege 3.4.3

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