public abstract class VersionDetail extends Object
Modifier | Constructor and Description |
---|---|
protected |
VersionDetail(VOTableVersion version)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract Map<String,AttributeChecker> |
createAttributeCheckers(String voTagname)
Constructs a map of attribute checkers suitable for processing
elements of a given name.
|
protected abstract ElementHandler |
createElementHandler(String voTagname)
Constructs a new element handler for an element with the given
unqualified VOTable tag name.
|
ElementHandler |
createElementHandler(String voTagname,
VotLintContext context)
Constructs a new ElementHandler for a given local element name.
|
Map<String,AttributeChecker> |
getAttributeCheckers(String voTagname)
Returns a map of attribute checkers suitable for processing
elements of a given name.
|
static VersionDetail |
getInstance(VotLintContext context)
Returns a VersionDetail instance suitable for use with the given
context.
|
protected VersionDetail(VOTableVersion version)
version
- VOTable version to which this detail appliespublic Map<String,AttributeChecker> getAttributeCheckers(String voTagname)
voTagname
- unqualified element name in VOTable namespacepublic ElementHandler createElementHandler(String voTagname, VotLintContext context)
voTagname
- unqualified element name in VOTable namespacecontext
- processing contextname
protected abstract ElementHandler createElementHandler(String voTagname)
voTagname
- unqualified element nameprotected abstract Map<String,AttributeChecker> createAttributeCheckers(String voTagname)
voTagname
- unqualified element name in VOTable namespacepublic static VersionDetail getInstance(VotLintContext context)
context
- validation contextCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.