Package org.jibx.schema.validation
Class ProblemConsoleLister
java.lang.Object
org.jibx.schema.validation.ProblemConsoleLister
- All Implemented Interfaces:
ProblemHandler
Handler to list problems found in validation to console.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleError
(ValidationProblem prob) Handle error.void
handleFatal
(ValidationProblem prob) Handle fatal.void
Handle unimplemented feature.void
Handle warning.void
Report progress information.void
Terminate processing.void
Terminate processing.
-
Constructor Details
-
ProblemConsoleLister
public ProblemConsoleLister()
-
-
Method Details
-
handleUnimplemented
Handle unimplemented feature.- Specified by:
handleUnimplemented
in interfaceProblemHandler
- Parameters:
prob
-
-
handleWarning
Handle warning.- Specified by:
handleWarning
in interfaceProblemHandler
- Parameters:
prob
-
-
handleError
Handle error.- Specified by:
handleError
in interfaceProblemHandler
- Parameters:
prob
-
-
handleFatal
Handle fatal.- Specified by:
handleFatal
in interfaceProblemHandler
- Parameters:
prob
-
-
report
Report progress information.- Specified by:
report
in interfaceProblemHandler
- Parameters:
msg
- progress information
-
terminate
Terminate processing.- Specified by:
terminate
in interfaceProblemHandler
- Parameters:
msg
- message reporting why processing is being terminated
-
terminate
Terminate processing.- Specified by:
terminate
in interfaceProblemHandler
- Parameters:
msg
- message reporting why processing is being terminatedthr
- throwable with problem details
-