Package uk.ac.starlink.ttools.votlint
Class VocabAttributeChecker
- java.lang.Object
-
- uk.ac.starlink.ttools.votlint.VocabAttributeChecker
-
- All Implemented Interfaces:
AttributeChecker
public class VocabAttributeChecker extends java.lang.Object implements AttributeChecker
Checks an attribute whose content is defined by the content of an IVOA Vocabulary.- Since:
- 25 Jun 2021
- Author:
- Mark Taylor
-
-
Constructor Summary
Constructors Constructor Description VocabAttributeChecker(VocabChecker vocabChecker)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check(java.lang.String nameValue, ElementHandler handler)
Performs a syntactic and/or semantic check on an attribute value for a given element.
-
-
-
Constructor Detail
-
VocabAttributeChecker
public VocabAttributeChecker(VocabChecker vocabChecker)
-
-
Method Detail
-
check
public void check(java.lang.String nameValue, ElementHandler handler)
Description copied from interface:AttributeChecker
Performs a syntactic and/or semantic check on an attribute value for a given element. Anything worthy of comment should be logged through handler's context.- Specified by:
check
in interfaceAttributeChecker
- Parameters:
nameValue
- the value of the attribute to checkhandler
- the element on which attValue appears
-
-