|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jibx.schema.validation.ProblemMultiHandler
public class ProblemMultiHandler
Problem handler which delegates to any number of other handlers.
| Constructor Summary | |
|---|---|
ProblemMultiHandler()
|
|
| Method Summary | |
|---|---|
void |
addHandler(ProblemHandler handler)
Add handler to delegate list. |
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(String msg)
Report progress information. |
void |
terminate(String msg)
Terminate processing. |
void |
terminate(String msg,
Throwable thr)
Terminate processing. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProblemMultiHandler()
| Method Detail |
|---|
public void addHandler(ProblemHandler handler)
handler - public void handleUnimplemented(ValidationProblem prob)
handleUnimplemented in interface ProblemHandlerprob - public void handleWarning(ValidationProblem prob)
handleWarning in interface ProblemHandlerprob - public void handleError(ValidationProblem prob)
handleError in interface ProblemHandlerprob - public void handleFatal(ValidationProblem prob)
handleFatal in interface ProblemHandlerprob - public void report(String msg)
report in interface ProblemHandlermsg - progress informationpublic void terminate(String msg)
terminate in interface ProblemHandlermsg - message reporting why processing is being terminated.
public void terminate(String msg,
Throwable thr)
terminate in interface ProblemHandlermsg - 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 | |||||||||