public class UnitChecker extends Object implements AttributeChecker
Note that VOTable does not require the unit attribute to conform to the VOUnits standard, it merely recoommends that. So reports from this checker are only advisory.
Modifier and Type | Field and Description |
---|---|
static UnitChecker |
INSTANCE
Singleton instance.
|
Modifier and Type | Method and Description |
---|---|
void |
check(String unit,
ElementHandler handler)
Performs a syntactic and/or semantic check on an attribute
value for a given element.
|
public static final UnitChecker INSTANCE
public void check(String unit, ElementHandler handler)
AttributeChecker
handler
's context.check
in interface AttributeChecker
unit
- the value of the attribute to checkhandler
- the element on which attValue
appearsCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.