uk.ac.starlink.ttools.taplint
Class ReporterVotLintContext

java.lang.Object
  extended by uk.ac.starlink.ttools.votlint.VotLintContext
      extended by 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

Field Summary
 
Fields inherited from class uk.ac.starlink.ttools.votlint.VotLintContext
MAX_REPEAT
 
Constructor Summary
ReporterVotLintContext(VOTableVersion version, Reporter reporter)
          Constructor.
 
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
 

Constructor Detail

ReporterVotLintContext

public ReporterVotLintContext(VOTableVersion version,
                              Reporter reporter)
Constructor.

Parameters:
reporter - validation message destination
Method Detail

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.