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 TypeMethodDescriptionvoidhandleError(ValidationProblem prob) Handle error.voidhandleFatal(ValidationProblem prob) Handle fatal.voidHandle unimplemented feature.voidHandle warning.voidReport progress information.voidTerminate processing.voidTerminate 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:
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 terminated.thr- throwable with problem details
-