Package | Description |
---|---|
org.apache.commons.validator |
The Validator package provides validation for JavaBeans based on an xml file.
|
Modifier and Type | Field and Description |
---|---|
protected Field |
ValidatorResult.field
Field being validated. |
Modifier and Type | Field and Description |
---|---|
protected List<Field> |
Form.lFields
List of
Field s. |
Modifier and Type | Method and Description |
---|---|
Field |
ValidatorResult.getField()
Returns the Field that was validated.
|
Field |
Form.getField(String fieldName)
Returns the Field with the given name or null if this Form has no such
field.
|
Modifier and Type | Method and Description |
---|---|
protected Map<String,Field> |
Form.getFieldMap()
Returns a Map of String field keys to Field objects.
|
List<Field> |
Form.getFields()
A
List of Field s is returned as an unmodifiable
List . |
Modifier and Type | Method and Description |
---|---|
void |
ValidatorResults.add(Field field,
String validatorName,
boolean result)
Add a the result of a validator action.
|
void |
ValidatorResults.add(Field field,
String validatorName,
boolean result,
Object value)
Add a the result of a validator action.
|
void |
Form.addField(Field f)
Add a
Field to the Form . |
Constructor and Description |
---|
ValidatorResult(Field field)
Constructs a
ValidatorResult with the associated field being
validated. |
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.