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