|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.votlint.VersionDetail
public abstract class VersionDetail
Contains VOTable version-specific validation logic.
Constructor Summary | |
---|---|
protected |
VersionDetail(VOTableVersion version)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected VersionDetail(VOTableVersion version)
version
- VOTable version to which this detail appliesMethod Detail |
---|
public Map<String,AttributeChecker> getAttributeCheckers(String voTagname)
voTagname
- unqualified element name in VOTable namespace
public ElementHandler createElementHandler(String voTagname, VotLintContext context)
voTagname
- unqualified element name in VOTable namespacecontext
- processing context
protected abstract ElementHandler createElementHandler(String voTagname)
voTagname
- unqualified element name
protected abstract Map<String,AttributeChecker> createAttributeCheckers(String voTagname)
voTagname
- unqualified element name in VOTable namespace
public static VersionDetail getInstance(VotLintContext context)
context
- validation context
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |