public static class FloatingArrayCoord.ArrayDomain extends Object implements Domain<uk.ac.starlink.ttools.plot2.data.FloatingArrayCoord.ArrayMapper>
Constructor and Description |
---|
ArrayDomain() |
Modifier and Type | Method and Description |
---|---|
String |
getDomainName()
Returns the name of this domain.
|
uk.ac.starlink.ttools.plot2.data.FloatingArrayCoord.ArrayMapper[] |
getMappers()
Returns a list of all mappers known to map values to this domain.
|
uk.ac.starlink.ttools.plot2.data.FloatingArrayCoord.ArrayMapper |
getPossibleMapper(ValueInfo info)
Returns a typed DomainMapper that can be used
for data described by the given metadata object.
|
uk.ac.starlink.ttools.plot2.data.FloatingArrayCoord.ArrayMapper |
getProbableMapper(ValueInfo info)
Returns a typed DomainMapper that is likely to be appropriate
for data described by the given metadata object.
|
public String getDomainName()
Domain
getDomainName
in interface Domain<uk.ac.starlink.ttools.plot2.data.FloatingArrayCoord.ArrayMapper>
public uk.ac.starlink.ttools.plot2.data.FloatingArrayCoord.ArrayMapper[] getMappers()
Domain
getMappers
in interface Domain<uk.ac.starlink.ttools.plot2.data.FloatingArrayCoord.ArrayMapper>
public uk.ac.starlink.ttools.plot2.data.FloatingArrayCoord.ArrayMapper getProbableMapper(ValueInfo info)
Domain
In general, implementations of this method will first check the
ValueInfo.getDomainMappers()
method.
If it is doubtful how to map from the given info to this domain,
null should be returned.
getProbableMapper
in interface Domain<uk.ac.starlink.ttools.plot2.data.FloatingArrayCoord.ArrayMapper>
info
- metadata describing data to be mappedpublic uk.ac.starlink.ttools.plot2.data.FloatingArrayCoord.ArrayMapper getPossibleMapper(ValueInfo info)
Domain
If the result of Domain.getProbableMapper(uk.ac.starlink.table.ValueInfo)
is non-null,
then this method must also return non-null, but this method
is not required to return the same value as
getProbableMapper
.
getPossibleMapper
in interface Domain<uk.ac.starlink.ttools.plot2.data.FloatingArrayCoord.ArrayMapper>
info
- metadata describing data to be mappedCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.