CLI2 provides a mechanism to validate argument values. The Validator
interface must be implemented to create an argument validator. This interface has
a single method validate(java.util.List values) throws InvalidArgumentException.
CLI2 has some standard validators included. They validate the following:
The ClassValidator can validate a value using three criteria: