@Deprecated public interface ValidationHandlerIF
| Modifier and Type | Method and Description |
|---|---|
void |
endValidation()
Deprecated.
PUBLIC: Called after the validation of an entire topic map.
|
void |
startValidation()
Deprecated.
PUBLIC: Called before the validation of an entire topic map
begins.
|
void |
violation(String message,
TMObjectIF container,
Object offender,
ConstraintIF constraint)
Deprecated.
PUBLIC: Called when violations of the schema are discovered.
|
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()