|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sourceid.saml20.adapter.gui.validation.impl.LongValidator
public class LongValidator
The LongValidator class validates a 8-byte
integer. Optionally, it allows users to specify
a range in the constructor.
| Constructor Summary | |
|---|---|
LongValidator()
Constructs a LongValidator with no specific
range. |
|
LongValidator(long lowerBound,
long upperBound)
Constructs a LongValidator with the
specified range [lowerBound, upperBound]. |
|
| Method Summary | |
|---|---|
void |
validate(Field field)
Validate if the fieldValue string represents a valid 8-byte integer and the value is within the specified boundary. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LongValidator()
LongValidator with no specific
range.
public LongValidator(long lowerBound,
long upperBound)
LongValidator with the
specified range [lowerBound, upperBound].
lowerBound - the lower bound of the range.upperBound - the upper bound of the range.| Method Detail |
|---|
public void validate(Field field)
throws ValidationException
validate in interface FieldValidatorfield - the field (name and value) to validate.
ValidationException - if the field is invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||