|
|||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||||
See:
Description
| Interface Summary | |
| BinaryConstraint | This interface marks constraint objects that consist of two subconstraints. |
| Constraint |
A Constraint can be used to validate any type of non-primitive
Java object. |
| CustomizedConstraint | A customized constraint allows an user to add its own constraints into the framework easily. |
| Restrictable |
The Restrictable interface defines a standard set of methods for a
class that wants to control its principle value by a Constraint. |
| UnaryConstraint | This interface marks constraint objects that consist of exactly one subconstraint. |
| Class Summary | |
| AndConstraint | Combines at least two child constraints with a logical AND. |
| ConstraintParser |
Class ConstraintParser can be used to parse strings representing
Constraint expressions. |
| ConstraintPool |
All constraints that a ConstraintParser creates are pooled.
|
| CustomConstraintRegistry | This constraint allows to register custom constraints by name. |
| EnumConstraint | Used to check whether the value that is subject to validation is equal to one of the entries of the list of values on the right-hand-side of the operator. |
| LikeConstraint | Used to check whether the value matches the given pattern. |
| MetricExpressionConstraint | The MetricExpressionConstraint class tests a given object to
be an instance of a MetricExpression and afterwards against a
specified comparison type.
|
| NegateConstraint |
This Constraint negates the value returned by the
specified child Constraint.
|
| NumberConstraint | This constraint evaluates a given object's value against a specified number and comparison type. |
| OpenEnumConstraint |
*
The class OpenEnumConstraint provides the same functionality and
comes with the same behaviour as the EnumConstraint class.
|
| OrConstraint | Combines two child constraints with a logical OR. |
| Scanner | This class provides methods for doing a lexical analysis on a
String. |
| TypeConstraint |
This Constraint implementation is used to check whether the value
that is subject to validation is of a certain type.
|
| Exception Summary | |
| ConstraintParserException | This exception is thrown whenever an error occurs during constraint parsing. |
| ConstraintViolationException |
This exception is thrown if an Attribute or an
AttributeCollection is associated with Constraint
which has determined a validation failure.
|
| CustomConstraintException |
Thrown when a CustomConstraint cannot be applied or
if it is not registered.
|
Includes the default constraints, associated exceptions and the constraint parser. Stubs for plugging in user custom constraints. A class for pooling constraints is also included.
|
|||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||||