Package rife.validation
Interface ValidationBuilder
- All Superinterfaces:
Cloneable
- All Known Implementing Classes:
AbstractValidationBuilder
,ValidationBuilderHtml
,ValidationBuilderXml
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
-
Method Summary
Modifier and TypeMethodDescriptionclone()
generateErrorMarkings
(Template template, Collection<ValidationError> errors) generateErrorMarkings
(Template template, Collection<ValidationError> errors, String prefix) generateErrorMarkings
(Template template, Collection<ValidationError> errors, Collection<String> onlySubjectsToClear) generateErrorMarkings
(Template template, Collection<ValidationError> errors, Collection<String> onlySubjectsToClear, String prefix) generateValidationErrors
(Template template, Collection<ValidationError> errors) generateValidationErrors
(Template template, Collection<ValidationError> errors, String prefix) generateValidationErrors
(Template template, Collection<ValidationError> errors, Collection<String> onlySubjectsToClear) generateValidationErrors
(Template template, Collection<ValidationError> errors, Collection<String> onlySubjectsToClear, String prefix) void
removeErrorMarkings
(Template template, Collection<String> subjects) void
removeErrorMarkings
(Template template, Collection<String> subjects, String prefix) void
removeValidationErrors
(Template template, Collection<String> subjects) void
removeValidationErrors
(Template template, Collection<String> subjects, String prefix) void
setFallbackErrorArea
(Template template, String message)
-
Field Details
-
PREFIX_ERROR
- See Also:
-
PREFIX_ERRORMESSAGE
- See Also:
-
PREFIX_ERRORS
- See Also:
-
PREFIX_MARK
- See Also:
-
PREFIX_MARK_ERROR
- See Also:
-
ID_ERROR_WILDCARD
- See Also:
-
ID_ERRORMESSAGE
- See Also:
-
ID_ERRORMESSAGE_WILDCARD
- See Also:
-
ID_ERRORS
- See Also:
-
ID_ERRORS_FALLBACK
- See Also:
-
ID_ERRORS_WILDCARD
- See Also:
-
TAG_ERRORS
- See Also:
-
TAG_ERRORMESSAGE
- See Also:
-
TAG_MARK
- See Also:
-
-
Method Details
-
setFallbackErrorArea
-
generateValidationErrors
-
generateValidationErrors
Collection<String> generateValidationErrors(Template template, Collection<ValidationError> errors, Collection<String> onlySubjectsToClear) -
generateValidationErrors
Collection<String> generateValidationErrors(Template template, Collection<ValidationError> errors, String prefix) -
generateValidationErrors
Collection<String> generateValidationErrors(Template template, Collection<ValidationError> errors, Collection<String> onlySubjectsToClear, String prefix) -
generateErrorMarkings
Collection<String> generateErrorMarkings(Template template, Collection<ValidationError> errors) throws ValidationBuilderException - Throws:
ValidationBuilderException
-
generateErrorMarkings
Collection<String> generateErrorMarkings(Template template, Collection<ValidationError> errors, Collection<String> onlySubjectsToClear) throws ValidationBuilderException - Throws:
ValidationBuilderException
-
generateErrorMarkings
Collection<String> generateErrorMarkings(Template template, Collection<ValidationError> errors, String prefix) throws ValidationBuilderException - Throws:
ValidationBuilderException
-
generateErrorMarkings
Collection<String> generateErrorMarkings(Template template, Collection<ValidationError> errors, Collection<String> onlySubjectsToClear, String prefix) throws ValidationBuilderException - Throws:
ValidationBuilderException
-
removeValidationErrors
-
removeValidationErrors
-
removeErrorMarkings
-
removeErrorMarkings
-
clone
Object clone()
-