|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.izforge.izpack.util.RegularExpressionValidator
public class RegularExpressionValidator
A validator to enforce non-empty fields. This validator can be used for rule input fields in the UserInputPanel to make sure that the user's entry matches a specified regular expression.
Field Summary | |
---|---|
private static java.lang.String |
PATTERN_PARAM
|
static java.lang.String |
STR_PATTERN_DEFAULT
|
Constructor Summary | |
---|---|
RegularExpressionValidator()
|
Method Summary | |
---|---|
boolean |
validate(ProcessingClient client)
Validates the contend of an input field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STR_PATTERN_DEFAULT
private static final java.lang.String PATTERN_PARAM
Constructor Detail |
---|
public RegularExpressionValidator()
Method Detail |
---|
public boolean validate(ProcessingClient client)
Validator
validate
in interface Validator
client
- the client object using the services of this validator.
true
if the validation passes, otherwise false
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |