Package uk.ac.starlink.ttools.votlint
Interface SaxMessager
- All Known Implementing Classes:
PrintSaxMessager
,ReporterSaxMessager
public interface SaxMessager
Defines how parsing messages are reported.
- Since:
- 29 Nov 2017
- Author:
- Mark Taylor
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
Defines the levels of severity at which messages can be reported. -
Method Summary
Modifier and TypeMethodDescriptionvoid
reportMessage
(SaxMessager.Level level, VotLintCode code, String msg, Locator locator) Reports a message.
-
Method Details
-
reportMessage
Reports a message.- Parameters:
level
- severity level of the message, not nullcode
- message identifiermsg
- message textlocator
- location in the XML document that provoked the message, or null if unknown/inapplicable
-