Class ReporterSaxMessager
java.lang.Object
uk.ac.starlink.ttools.taplint.ReporterSaxMessager
- All Implemented Interfaces:
SaxMessager
SaxMessager implementation which delivers its output via
a TapLint-style reporter.
- Since:
- 10 Jun 2011
- Author:
- Mark Taylor
-
Nested Class Summary
Nested classes/interfaces inherited from interface SaxMessager
SaxMessager.Level -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidreportMessage(SaxMessager.Level level, VotLintCode vcode, String msg, Locator locator) Reports a message.
-
Constructor Details
-
ReporterSaxMessager
Constructor.- Parameters:
reporter- validation message destination
-
-
Method Details
-
reportMessage
Description copied from interface:SaxMessagerReports a message.- Specified by:
reportMessagein interfaceSaxMessager- Parameters:
level- severity level of the message, not nullvcode- message identifiermsg- message textlocator- location in the XML document that provoked the message, or null if unknown/inapplicable
-