Package | Description |
---|---|
org.apache.tapestry5 |
Root package for Tapestry, containing common interfaces and data types used throughout the framework.
|
org.apache.tapestry5.corelib.components |
The set of core components available in all Tapestry applications
|
org.apache.tapestry5.internal.beanvalidator |
[INTERNAL USE ONLY] JSR-303 Bean Validation implementation details; API subject to change
|
org.apache.tapestry5.internal.services |
[INTERNAL USE ONLY] internal service classes; API subject to change
|
org.apache.tapestry5.internal.translator |
[INTERNAL USE ONLY] translator implementation classes; API subject to change.
|
org.apache.tapestry5.validator |
Validators for use by Tapestry (and custom) form field components.
|
Modifier and Type | Method and Description |
---|---|
T |
FieldTranslator.parse(String input)
Invoked after the client-submitted value has been
translated to check that the value conforms
to expectations (often, in terms of minimum or maximum value). |
T |
Translator.parseClient(Field field,
String clientValue,
String message)
Converts a submitted request value into an appropriate server side value.
|
Object |
FieldValidationSupport.parseClient(String clientValue,
ComponentResources componentResources,
FieldTranslator<Object> translator,
NullFieldStrategy nullFieldStrategy)
A wrapper around
Translator.parseClient(Field, String, String) . |
void |
Validator.validate(Field field,
C constraintValue,
MessageFormatter formatter,
T value)
Invoked after the client-submitted value has been
translated to check
that the value conforms to expectations (often, in terms of minimum or maximum value). |
void |
FieldValidationSupport.validate(Object value,
ComponentResources componentResources,
FieldValidator validator)
Performs validation on a parsed value from the client.
|
void |
FieldValidator.validate(T value)
Invoked after the client-submitted value has been
translated to check that the value conforms
to expectations (often, in terms of minimum or maximum value). |
Modifier and Type | Method and Description |
---|---|
protected Object |
Select.toValue(String submittedValue) |
Modifier and Type | Method and Description |
---|---|
void |
BeanFieldValidator.validate(Object value) |
Modifier and Type | Method and Description |
---|---|
T |
FieldTranslatorImpl.parse(String input) |
Object |
FieldValidationSupportImpl.parseClient(String clientValue,
ComponentResources componentResources,
FieldTranslator<Object> translator,
NullFieldStrategy nullFieldStrategy) |
void |
CompositeFieldValidator.validate(Object value) |
void |
FieldValidatorImpl.validate(Object value) |
void |
FieldValidationSupportImpl.validate(Object value,
ComponentResources componentResources,
FieldValidator validator) |
Modifier and Type | Method and Description |
---|---|
T |
NumericTranslator.parseClient(Field field,
String clientValue,
String message) |
String |
StringTranslator.parseClient(Field field,
String clientValue,
String message)
Passes the clientValue through unchanged.
|
Modifier and Type | Method and Description |
---|---|
void |
MinLength.validate(Field field,
Integer constraintValue,
MessageFormatter formatter,
String value) |
void |
MaxLength.validate(Field field,
Integer constraintValue,
MessageFormatter formatter,
String value) |
void |
Min.validate(Field field,
Long constraintValue,
MessageFormatter formatter,
Number value) |
void |
Max.validate(Field field,
Long constraintValue,
MessageFormatter formatter,
Number value) |
void |
Regexp.validate(Field field,
Pattern constraintValue,
MessageFormatter formatter,
String value) |
void |
Required.validate(Field field,
Void constraintValue,
MessageFormatter formatter,
Object value) |
void |
None.validate(Field field,
Void constraintValue,
MessageFormatter formatter,
Object value)
Does nothing.
|
void |
Email.validate(Field field,
Void constraintValue,
MessageFormatter formatter,
String value) |
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.