|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jibx.schema.validation.ProblemLogLister
public class ProblemLogLister
Handler to log problems found in validation.
Field Summary | |
---|---|
private Logger |
m_logger
Logger to be used. |
Constructor Summary | |
---|---|
ProblemLogLister(Logger logger)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Logger m_logger
Constructor Detail |
---|
public ProblemLogLister(Logger logger)
logger
- Method Detail |
---|
public void handleUnimplemented(ValidationProblem prob)
handleUnimplemented
in interface ProblemHandler
prob
- public void handleWarning(ValidationProblem prob)
handleWarning
in interface ProblemHandler
prob
- public void handleError(ValidationProblem prob)
handleError
in interface ProblemHandler
prob
- public void handleFatal(ValidationProblem prob)
handleFatal
in interface ProblemHandler
prob
- public void report(java.lang.String msg)
report
in interface ProblemHandler
msg
- progress informationpublic void terminate(java.lang.String msg)
terminate
in interface ProblemHandler
msg
- message reporting why processing is being terminated.public void terminate(java.lang.String msg, java.lang.Throwable thr)
terminate
in interface ProblemHandler
msg
- message reporting why processing is being terminated.thr
- throwable with problem details
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |