Package org.jibx.schema.validation
Class ProblemMultiHandler
java.lang.Object
org.jibx.schema.validation.ProblemMultiHandler
- All Implemented Interfaces:
ProblemHandler
Problem handler which delegates to any number of other handlers.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddHandler(ProblemHandler handler) Add handler to delegate list.voidhandleError(ValidationProblem prob) Handle error.voidhandleFatal(ValidationProblem prob) Handle fatal.voidHandle unimplemented feature.voidHandle warning.voidReport progress information.voidTerminate processing.voidTerminate processing.
-
Field Details
-
m_handlers
List of delegate handlers.
-
-
Constructor Details
-
ProblemMultiHandler
public ProblemMultiHandler()
-
-
Method Details
-
addHandler
Add handler to delegate list.- Parameters:
handler-
-
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
-