Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.stanford.smi.protege.util
Class IntegerValidator

    java.lang.Object
      edu.stanford.smi.protege.util.IntegerValidator

All Implemented Interfaces:
  NumberValidator, Validator

    public class IntegerValidator

extends Object
implements NumberValidator

Utility class to check a string to see if it is a valid integer.

Author:
  Ray Fergerson

Constructor Summary
`IntegerValidator()`

Method Summary
`Number` | `convertToNumber(String string)`
`String` | `getErrorMessage(Object o)`
`static IntegerValidator` | `getInstance()`
`boolean` | `isValid(Object o)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### IntegerValidator

    public IntegerValidator()

Method Detail

### getInstance

    public static IntegerValidator getInstance()

### convertToNumber

    public Number convertToNumber(String string)

  Specified by:
    `convertToNumber` in interface `NumberValidator`

### getErrorMessage

    public String getErrorMessage(Object o)

  Specified by:
    `getErrorMessage` in interface `Validator`

### isValid

    public boolean isValid(Object o)

  Specified by:
    `isValid` in interface `Validator`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Protege 3.5 alpha
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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