Package org.jibx.schema.validation
Interface ProblemHandler
-
- All Known Implementing Classes:
ProblemConsoleLister,ProblemLogLister,ProblemMultiHandler
public interface ProblemHandlerInterface for handling problems found in validation and processing of schemas.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleError(ValidationProblem prob)Handle error.voidhandleFatal(ValidationProblem prob)Handle fatal.voidhandleUnimplemented(ValidationProblem prob)Handle unimplemented feature.voidhandleWarning(ValidationProblem prob)Handle warning.voidreport(String msg)Report progress information.voidterminate(String msg)Terminate processing.voidterminate(String msg, Throwable thr)Terminate processing.
-
-
-
Method Detail
-
handleUnimplemented
void handleUnimplemented(ValidationProblem prob)
Handle unimplemented feature.- Parameters:
prob- Validation Problem
-
handleWarning
void handleWarning(ValidationProblem prob)
Handle warning.- Parameters:
prob- Validation Problem
-
handleError
void handleError(ValidationProblem prob)
Handle error.- Parameters:
prob- Validation Problem
-
handleFatal
void handleFatal(ValidationProblem prob)
Handle fatal.- Parameters:
prob- Validation Problem
-
report
void report(String msg)
Report progress information.- Parameters:
msg- progress information
-
terminate
void terminate(String msg)
Terminate processing.- Parameters:
msg- message reporting why processing is being terminated
-
-