Package org.jibx.schema.validation
Class ProblemLogLister
java.lang.Object
org.jibx.schema.validation.ProblemLogLister
- All Implemented Interfaces:
ProblemHandler
Handler to log problems found in validation.
-
Field Summary
Fields -
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.
-
Field Details
-
m_logger
private final Logger m_loggerLogger to be used.
-
-
Constructor Details
-
ProblemLogLister
public ProblemLogLister(Logger logger) Constructor.- Parameters:
logger
-
-
-
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 terminated.thr
- throwable with problem details
-