|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InternalValidatorContext
This extension of the ValidatorContext provides the internal engine the ability to set and retrieve additional information on the context.
Method Summary | |
---|---|
void |
addRawFailures(java.util.List failureList,
ValidationService service)
Adds "raw" failures (which is a List of ValidationFailure objects) to the existing set of failures. |
int |
getCount()
Calculates the failure count. |
java.util.List |
getFailures()
Retrieves a List of the current failures within this context. |
void |
setValidationTrace(ValidationTrace trace)
Sets the trace so that the context can use it for reporting failures. |
void |
setValidator(ValidatorWrapper wrapper)
Sets the ValidatorWrapper that the context needs to use. |
Methods inherited from interface org.iscreen.ValidatorContext |
---|
getLocale, getValidationService, getValidatorName, reportFailure, reportFailure |
Method Detail |
---|
void addRawFailures(java.util.List failureList, ValidationService service)
failureList
- The List of ValidationFailures to add to this context.service
- The validation service representing the failures.int getCount()
java.util.List getFailures()
void setValidator(ValidatorWrapper wrapper)
wrapper
- The ValidatorWrapper to use.void setValidationTrace(ValidationTrace trace)
trace
- The ValidationTrace instace.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |