Instantiate and return a new {@link Validator} instance of theclass specified by a previous call to addValidator()
for the specified validator id.
validatorId
is null
Creates a new instance of {@link Validator}. The {@link Validator} can be used to validate JAXB objects.
Return a new {@link ValidationHandler} instance that can be used tovalidate an XML document by sending SAX events to it.
The specified {@link ErrorHandler} will be notified of all warnings orerrors encountered validating the SAX events sent to the returned {@link ValidationHandler}, and must not be null.
The returned {@link ValidationHandler} can be used to validate onlyone XML document. To validate more than one document, this method should be called once for each document to validate.
@param handler an {@link ErrorHandler} to notify of validation errors. @return a non-null {@link ValidationHandler} instance. @throws SAXException if an error occurred creating the validation handler.id-validator (where id is the simple id of the field component, and validator is the validatorType), then that message is used instead. This allows you to override the message for a particular validation of a particular field.
@param field the field for which a validator is to be created
@param validatorType used to select the {@link Validator} that forms the core of the{@link FieldValidator}
@param constraintValue a value used to configure the validator, or null if the validator is not configurarable
@return the field validator for the field
id-validator (where id is the simple id of the field component, and validator is the validatorType), then that message is used instead. This allows you to override the message for a particular validation of a particular field.
@param field the field for which a validator is to be created
@param validatorType used to select the {@link org.apache.tapestry5.Validator} that forms the core of the{@link org.apache.tapestry5.FieldValidator}
@param constraintValue a value used to configure the validator, or null if the validator is not configurarable
@return the field validator for the field
|
|
|
|
|
|
|
|