Package ucar.nc2.ft.point.standard
Class CoordVarExtractor
- java.lang.Object
-
- ucar.nc2.ft.point.standard.CoordVarExtractor
-
public abstract class CoordVarExtractor extends Object
Abstract superclass for extracting coordinate values from nested tables.- Since:
- Jan 26, 2009
-
-
Field Summary
Fields Modifier and Type Field Description protected String
axisName
protected String
memberName
protected int
nestingLevel
-
Constructor Summary
Constructors Modifier Constructor Description protected
CoordVarExtractor(String axisName, int nestingLevel)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract double
getCoordValue(StructureData sdata)
double
getCoordValue(StructureData[] tableData)
String
getCoordValueAsString(StructureData sdata)
abstract long
getCoordValueLong(StructureData sdata)
abstract String
getCoordValueString(StructureData sdata)
String
getCoordValueString(StructureData[] tableData)
abstract String
getUnitsString()
abstract boolean
isInt()
protected abstract boolean
isMissing(StructureData tableData)
boolean
isMissing(StructureData[] tableData)
abstract boolean
isString()
String
toString()
-
-
-
Constructor Detail
-
CoordVarExtractor
protected CoordVarExtractor(String axisName, int nestingLevel)
-
-
Method Detail
-
getCoordValue
public abstract double getCoordValue(StructureData sdata)
-
getCoordValueLong
public abstract long getCoordValueLong(StructureData sdata)
-
getCoordValueString
public abstract String getCoordValueString(StructureData sdata)
-
getUnitsString
public abstract String getUnitsString()
-
isString
public abstract boolean isString()
-
isInt
public abstract boolean isInt()
-
getCoordValue
public double getCoordValue(StructureData[] tableData)
-
getCoordValueString
public String getCoordValueString(StructureData[] tableData)
-
getCoordValueAsString
public String getCoordValueAsString(StructureData sdata)
-
isMissing
protected abstract boolean isMissing(StructureData tableData)
-
isMissing
public boolean isMissing(StructureData[] tableData)
-
-