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