Package uk.ac.starlink.ttools.votlint
Class ParamHandler.ValueChecker
- java.lang.Object
-
- uk.ac.starlink.ttools.votlint.ParamHandler.ValueChecker
-
- All Implemented Interfaces:
AttributeChecker
- Enclosing class:
- ParamHandler
public static class ParamHandler.ValueChecker extends java.lang.Object implements AttributeChecker
Attribute checker which can check attributes which contain strings of the type described by this element.
-
-
Constructor Summary
Constructors Constructor Description ValueChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check(java.lang.String attValue, ElementHandler handler)
Performs a syntactic and/or semantic check on an attribute value for a given element.
-
-
-
Method Detail
-
check
public void check(java.lang.String attValue, 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:
attValue
- the value of the attribute to checkhandler
- the element on which attValue appears
-
-