|
||||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |
Input
for validity.
Affirmation
interface is a central concept to the
design of this package as it encapsulates a single unit of work
towards the verification of values given under predetermined keys
in an Input
object.AffirmationException
are thrown by Affirmation
implementations if
and when the input they are affirming is discovered to be invalid.Detail
in typical usage), the key, the value of (the bad data) itself, and the aforementioned flag.
Affirmation
implementation which checks that the value
associated with a certain key is a valid Boolean
object.Affirmation
implementation which checks that the value
associated with a certain key is a valid Byte
object.Affirmation
implementation which checks that the value
associated with a certain key is a valid Character
object.Affirmation
implementation which checks that the value
associated with a certain key is a valid credit card number as
checked by the Luhn check digit algorithm.Affirmation
implementation which checks that the value
associated with a certain key is a valid Double
object.Affirmation
implementation which checks that the value
associated with a certain key is a valid Double
within
(inclusive) the given high and lo values.Affirmation
implementation which checks that the value
associated with a certain key is not null
.Affirmation
implementation which checks that the value
associated with a certain key is a valid Float
object.Affirmation
implementation which checks that the value
associated with a certain key is a valid Integer
object.Affirmation
implementation which checks that the value
associated with a certain key is a valid Integer
within
(inclusive) the given high and lo values.Affirmation
implementation which checks that the value
associated with a certain key is a valid Long
object.Affirmation
implementation which checks that the value
associated with a certain key is a valid String
which
matches the given regular expression.Affirmation
implementation which checks that the value
associated with a certain key is a valid Short
object.Affirmation
implementation which checks that the value
associated with a certain key is a valid String
object.Affirmation
implementation which checks that the value
associated with a certain key is a valid String
object
having legnth inclusive to the give min and max values.Affirmation
implementation which checks that the value
associated with a certain key has a type compatible with the given
Class as determined by the
java.lang.Class.isInstance(Object) method.
|
||||||||||
PREV LETTER NEXT LETTER | FRAMES NO FRAMES |