Modifier and Type | Class | Description |
---|---|---|
static class |
XsdStage.Result |
Enumerates possible results of the parse.
|
Modifier | Constructor | Description |
---|---|---|
protected |
XsdStage(java.lang.String topElNamespaceUri,
java.lang.String topElName,
boolean isMandatory,
java.lang.String resourceDescription) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getDescription() |
Returns a short one-line description of this stage.
|
abstract java.net.URL |
getDocumentUrl(uk.ac.starlink.vo.EndpointSet endpointSet) |
Returns the URL of the document to validate, given the service URL
for the TAP service.
|
XsdStage.Result |
getResult() |
Returns a token giving the result status last time this stage was run.
|
void |
run(Reporter reporter,
uk.ac.starlink.vo.EndpointSet endpointSet) |
Performs the validation checks for this stage.
|
protected XsdStage(java.lang.String topElNamespaceUri, java.lang.String topElName, boolean isMandatory, java.lang.String resourceDescription)
topElNamespaceUri
- namespace of required document root elementtopElName
- local name of required document root elementisMandatory
- true iff resource is REQUIRED by standardresourceDescription
- short description of what resource containspublic java.lang.String getDescription()
Stage
getDescription
in interface Stage
public abstract java.net.URL getDocumentUrl(uk.ac.starlink.vo.EndpointSet endpointSet)
endpointSet
- TAP endpoint locationspublic void run(Reporter reporter, uk.ac.starlink.vo.EndpointSet endpointSet)
Stage
public XsdStage.Result getResult()
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.