|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ValidationHandlerIF
PUBLIC: Schema validator objects report errors through this interface.
| Method Summary | |
|---|---|
void |
endValidation()
PUBLIC: Called after the validation of an entire topic map. |
void |
startValidation()
PUBLIC: Called before the validation of an entire topic map begins. |
void |
violation(String message,
TMObjectIF container,
Object offender,
ConstraintIF constraint)
PUBLIC: Called when violations of the schema are discovered. |
| Method Detail |
|---|
void startValidation()
void violation(String message,
TMObjectIF container,
Object offender,
ConstraintIF constraint)
throws SchemaViolationException
message - A message describing the nature of the violation.offender - The object that violated the schema.container - The container of the offending object.constraint - The constraint that was violated.
SchemaViolationException - Implementations may throw this
exception if they wish to halt validation.void endValidation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||