Modifier | Constructor and Description |
---|---|
protected |
XsdStage(String topElNamespaceUri,
String topElName,
boolean isMandatory,
String resourceDescription)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Returns a short one-line description of this stage.
|
abstract URL |
getDocumentUrl(TapService tapService)
Returns the URL of the document to validate, given the service URL
for the TAP service.
|
XsdValidation.Result |
getResult()
Returns a token giving the result status last time this stage was run.
|
void |
run(Reporter reporter,
TapService tapService)
Performs the validation checks for this stage.
|
protected XsdStage(String topElNamespaceUri, String topElName, boolean isMandatory, 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 String getDescription()
Stage
getDescription
in interface Stage
public abstract URL getDocumentUrl(TapService tapService)
tapService
- TAP service descriptionpublic void run(Reporter reporter, TapService tapService)
Stage
public XsdValidation.Result getResult()
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.