| Modifier and Type | Class and Description |
|---|---|
static class |
XsdStage.Result
Enumerates possible results of the parse.
|
| Modifier | Constructor and Description |
|---|---|
protected |
XsdStage(java.lang.String topElNamespaceUri,
java.lang.String topElName,
boolean isMandatory,
java.lang.String resourceDescription)
Constructor.
|
| Modifier and Type | Method and 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()
StagegetDescription in interface Stagepublic 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)
Stagepublic XsdStage.Result getResult()
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.