|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Validator | |
|---|---|
| net.dpml.cli.builder | Helpers supporting the construction of a commandline model. |
| net.dpml.cli.option | Options implementation include command, group, switch and property abstractions. |
| net.dpml.cli.validation | Provides classes and interfaces for validating argument values. |
| Uses of Validator in net.dpml.cli.builder |
|---|
| Methods in net.dpml.cli.builder with parameters of type Validator | |
|---|---|
ArgumentBuilder |
ArgumentBuilder.withValidator(Validator newValidator)
Sets the validator instance used to perform validation on the Argument values. |
| Uses of Validator in net.dpml.cli.option |
|---|
| Methods in net.dpml.cli.option that return Validator | |
|---|---|
Validator |
ArgumentImpl.getValidator()
Return the argument validator. |
| Constructors in net.dpml.cli.option with parameters of type Validator | |
|---|---|
ArgumentImpl(java.lang.String name,
java.lang.String description,
int minimum,
int maximum,
char initialSeparator,
char subsequentSeparator,
Validator validator,
java.lang.String consumeRemaining,
java.util.List valueDefaults,
int id)
Creates a new Argument instance. |
|
| Uses of Validator in net.dpml.cli.validation |
|---|
| Classes in net.dpml.cli.validation that implement Validator | |
|---|---|
class |
ClassValidator
The ClassValidator validates the string argument
values are class names. |
class |
DateValidator
The DateValidator validates the argument values
are date or time value(s). |
class |
EnumValidator
The EnumValidator validates the string argument
values are valid. |
class |
FileValidator
The FileValidator validates the string argument
values are files. |
class |
NumberValidator
The NumberValidator validates the string argument
values are numbers. |
class |
URIValidator
The URIValidator validates the string argument
values are valid URIs. |
class |
URLValidator
The URLValidator validates the string argument
values are URLs. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||