public class ReporterSaxMessager extends Object implements SaxMessager
SaxMessager.Level
Constructor and Description |
---|
ReporterSaxMessager(Reporter reporter)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
reportMessage(SaxMessager.Level level,
VotLintCode vcode,
String msg,
Locator locator)
Reports a message.
|
public ReporterSaxMessager(Reporter reporter)
reporter
- validation message destinationpublic void reportMessage(SaxMessager.Level level, VotLintCode vcode, String msg, Locator locator)
SaxMessager
reportMessage
in interface SaxMessager
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/inapplicableCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.