|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.taplint.TapRunner
public abstract class TapRunner
Executes TAP queries for the validator.
Constructor Summary | |
---|---|
protected |
TapRunner(String description)
Constructor. |
Method Summary | |
---|---|
StarTable |
attemptGetResultTable(Reporter reporter,
TapQuery tq)
Attempts to execute a TAP query and returns the result table, or throws an exception if the query failed for some reason. |
protected abstract StarTable |
executeQuery(Reporter reporter,
TapQuery query)
Executes a TAP query, performing reporting as appropriate. |
String |
getDescription()
Returns a short description. |
StarTable |
getResultTable(Reporter reporter,
TapQuery tq)
Executes a TAP query and returns the result table, or null if the query failed for some reason. |
void |
reportSummary(Reporter reporter)
Reports a summary of the queries executed by this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected TapRunner(String description)
description
- short description of this object's typeMethod Detail |
---|
public String getDescription()
public StarTable getResultTable(Reporter reporter, TapQuery tq)
reporter
- validation message destinationtq
- TAP query specification
public StarTable attemptGetResultTable(Reporter reporter, TapQuery tq) throws IOException, SAXException
reporter
- validation message destinationtq
- TAP query specification
IOException
SAXException
protected abstract StarTable executeQuery(Reporter reporter, TapQuery query) throws IOException, SAXException
reporter
- validation message destinationquery
- query to execute
IOException
SAXException
public void reportSummary(Reporter reporter)
reporter
- validation message destination
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |