|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.taplint.CapabilityStage
public class CapabilityStage
Stage for checking content of TAPRegExt capability metadata.
Constructor Summary | |
---|---|
CapabilityStage()
|
Method Summary | |
---|---|
static TapCapability |
checkCapabilities(Reporter reporter,
URL capUrl)
Performs validation checks on a TAPRegExt document at a given URL. |
TapCapability |
getCapability()
Returns the TAP capability record obtained by the last run of this stage. |
String |
getDescription()
Returns a short one-line description of this stage. |
static void |
main(String[] args)
Can be used for standalone validation of a Capabilities document at a given URL. |
void |
run(Reporter reporter,
URL serviceUrl)
Performs the validation checks for this stage. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CapabilityStage()
Method Detail |
---|
public String getDescription()
Stage
getDescription
in interface Stage
public TapCapability getCapability()
getCapability
in interface CapabilityHolder
public void run(Reporter reporter, URL serviceUrl)
Stage
run
in interface Stage
reporter
- destination for validation messagesserviceUrl
- TAP service URLpublic static TapCapability checkCapabilities(Reporter reporter, URL capUrl)
reporter
- destination for validation messagescapUrl
- URL of a Capabilities documentpublic static void main(String[] args) throws MalformedURLException
MalformedURLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |