uk.ac.starlink.ttools.taplint
Class ReporterVotLintContext
java.lang.Object
uk.ac.starlink.ttools.votlint.VotLintContext
uk.ac.starlink.ttools.taplint.ReporterVotLintContext
public class ReporterVotLintContext
- extends VotLintContext
VotLintContext implementation which delivers its output via
a TapLint-style reporter.
- Since:
- 10 Jun 2011
- Author:
- Mark Taylor
Method Summary |
void |
error(String msg)
Write an error message to the user. |
void |
info(String msg)
Write an informative message to the user. |
void |
warning(String msg)
Write a warning message to the user. |
Methods inherited from class uk.ac.starlink.ttools.votlint.VotLintContext |
getLocator, getNamespaceMap, getOutput, getVersion, isDebug, isValidating, message, registerID, registerRef, reportUncheckedRefs, setLocator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReporterVotLintContext
public ReporterVotLintContext(VOTableVersion version,
Reporter reporter)
- Constructor.
- Parameters:
reporter
- validation message destination
info
public void info(String msg)
- Description copied from class:
VotLintContext
- Write an informative message to the user.
- Overrides:
info
in class VotLintContext
- Parameters:
msg
- message
warning
public void warning(String msg)
- Description copied from class:
VotLintContext
- Write a warning message to the user.
- Overrides:
warning
in class VotLintContext
- Parameters:
msg
- message
error
public void error(String msg)
- Description copied from class:
VotLintContext
- Write an error message to the user.
- Overrides:
error
in class VotLintContext
- Parameters:
msg
- message
Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.