com.uwyn.rife.site
Interface ValidationBuilder

All Superinterfaces:
Cloneable
All Known Implementing Classes:
AbstractValidationBuilder, ValidationBuilderXhtml, ValidationBuilderXml

public interface ValidationBuilder
extends Cloneable


Field Summary
static String ID_ERROR_WILDCARD
           
static String ID_ERRORMESSAGE
           
static String ID_ERRORMESSAGE_WILDCARD
           
static String ID_ERRORS
           
static String ID_ERRORS_FALLBACK
           
static String ID_ERRORS_WILDCARD
           
static String PREFIX_ERROR
           
static String PREFIX_ERRORMESSAGE
           
static String PREFIX_ERRORS
           
static String PREFIX_MARK
           
static String PREFIX_MARK_ERROR
           
static String TAG_ERRORMESSAGE
           
static String TAG_ERRORS
           
static String TAG_MARK
           
 
Method Summary
 Object clone()
           
 Collection<String> generateErrorMarkings(Template template, Collection<ValidationError> errors, Collection<String> onlySubjectsToClear, String prefix)
           
 Collection<String> generateValidationErrors(Template template, Collection<ValidationError> errors, Collection<String> onlySubjectsToClear, String prefix)
           
 void removeErrorMarkings(Template template, Collection<String> subjects, String prefix)
           
 void removeValidationErrors(Template template, Collection<String> subjects, String prefix)
           
 void setFallbackErrorArea(Template template, String message)
           
 

Field Detail

PREFIX_ERROR

static final String PREFIX_ERROR
See Also:
Constant Field Values

PREFIX_ERRORMESSAGE

static final String PREFIX_ERRORMESSAGE
See Also:
Constant Field Values

PREFIX_ERRORS

static final String PREFIX_ERRORS
See Also:
Constant Field Values

PREFIX_MARK

static final String PREFIX_MARK
See Also:
Constant Field Values

PREFIX_MARK_ERROR

static final String PREFIX_MARK_ERROR
See Also:
Constant Field Values

ID_ERROR_WILDCARD

static final String ID_ERROR_WILDCARD
See Also:
Constant Field Values

ID_ERRORMESSAGE

static final String ID_ERRORMESSAGE
See Also:
Constant Field Values

ID_ERRORMESSAGE_WILDCARD

static final String ID_ERRORMESSAGE_WILDCARD
See Also:
Constant Field Values

ID_ERRORS

static final String ID_ERRORS
See Also:
Constant Field Values

ID_ERRORS_FALLBACK

static final String ID_ERRORS_FALLBACK
See Also:
Constant Field Values

ID_ERRORS_WILDCARD

static final String ID_ERRORS_WILDCARD
See Also:
Constant Field Values

TAG_ERRORS

static final String TAG_ERRORS
See Also:
Constant Field Values

TAG_ERRORMESSAGE

static final String TAG_ERRORMESSAGE
See Also:
Constant Field Values

TAG_MARK

static final String TAG_MARK
See Also:
Constant Field Values
Method Detail

setFallbackErrorArea

void setFallbackErrorArea(Template template,
                          String message)

generateValidationErrors

Collection<String> generateValidationErrors(Template template,
                                            Collection<ValidationError> errors,
                                            Collection<String> onlySubjectsToClear,
                                            String prefix)

generateErrorMarkings

Collection<String> generateErrorMarkings(Template template,
                                         Collection<ValidationError> errors,
                                         Collection<String> onlySubjectsToClear,
                                         String prefix)
                                         throws ValidationBuilderException
Throws:
ValidationBuilderException

removeValidationErrors

void removeValidationErrors(Template template,
                            Collection<String> subjects,
                            String prefix)

removeErrorMarkings

void removeErrorMarkings(Template template,
                         Collection<String> subjects,
                         String prefix)

clone

Object clone()


Copyright © 2001-2007 Uwyn sprl/bvba. All Rights Reserved.