uk.ac.starlink.table
Interface ValueScheme
public interface ValueScheme
Contains information about how to interpret a set of related values,
for instance cells in a column.
getDomainMapper
DomainMapper getDomainMapper(ValueDomain domain)
- Returns an object which can translate object values in this scheme
to a given domain.
If nothing is known about how to translate to that domain,
null should be returned.
A null return does not indicate that the value cannot be used
for the target domain - a trivial use of the numeric values may
still be appropriate. A non-null return however indicates some
confidence that the values may be used in the target domain,
and that some alternative conversion is unlikely.
- Parameters:
domain
- target value domain
- Returns:
- mapper for mapping to the given domain, or null
Copyright © 2013 Central Laboratory of the Research Councils. All Rights Reserved.