public class

NumberVerifier

extends Object
implements PropertyVerifier
java.lang.Object
   ↳ com.opensymphony.module.propertyset.verifiers.NumberVerifier

Class Overview

Handles verification of numbers. Can be configured to only accept specific numeric types (int, float, etc) as well as a range for the specified number. All constraints are optional. If not specified, then any number is accepted.

Summary

Public Constructors
NumberVerifier()
Public Methods
Number getMax()
Number getMin()
Class getType()
void setMax(Number num)
void setMin(Number num)
void setType(Class type)
void verify(Object value)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.opensymphony.module.propertyset.verifiers.PropertyVerifier

Public Constructors

public NumberVerifier ()

Public Methods

public Number getMax ()

public Number getMin ()

public Class getType ()

public void setMax (Number num)

public void setMin (Number num)

public void setType (Class type)

public void verify (Object value)