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 TypeMethodDescriptionvoidhandleError(ValidationProblem prob) Handle error.voidhandleFatal(ValidationProblem prob) Handle fatal.voidHandle unimplemented feature.voidHandle warning.voidReport progress information.voidTerminate processing.voidTerminate processing.
-
Constructor Details
-
ProblemConsoleLister
public ProblemConsoleLister()
-
-
Method Details
-
handleUnimplemented
Handle unimplemented feature.- Specified by:
handleUnimplementedin interfaceProblemHandler- Parameters:
prob-
-
handleWarning
Handle warning.- Specified by:
handleWarningin interfaceProblemHandler- Parameters:
prob-
-
handleError
Handle error.- Specified by:
handleErrorin interfaceProblemHandler- Parameters:
prob-
-
handleFatal
Handle fatal.- Specified by:
handleFatalin interfaceProblemHandler- Parameters:
prob-
-
report
Report progress information.- Specified by:
reportin interfaceProblemHandler- Parameters:
msg- progress information
-
terminate
Terminate processing.- Specified by:
terminatein interfaceProblemHandler- Parameters:
msg- message reporting why processing is being terminated
-
terminate
Terminate processing.- Specified by:
terminatein interfaceProblemHandler- Parameters:
msg- message reporting why processing is being terminatedthr- throwable with problem details
-