ucar.ncx.jdom
Interface NcxJDOMEncoder

All Known Implementing Classes:
NcxGenericJDOMEncoder

public interface NcxJDOMEncoder

Interface representing the required functionality of any java class which extracts xml metadata from a file in netcdf format and returns JDOM objects.


Method Summary
 org.jdom.Element encodeAttribute(ucar.nc2.Attribute a)
          Method to encode a netcdf Attribute object as an xml attribute tag
 org.jdom.Element encodeDimension(ucar.nc2.Dimension d)
          Method to encode a netcdf Dimension object as an xml dimension tag
 org.jdom.Element encodeVariable(ucar.nc2.Variable v)
          Method to encode a netcdf Variable object as an xml variable tag
 

Method Detail

encodeDimension

public org.jdom.Element encodeDimension(ucar.nc2.Dimension d)
Method to encode a netcdf Dimension object as an xml dimension tag

Parameters:
d - netcdf dimension object to be encoded
Returns:
xml dimension tag as JDOM Element object

encodeVariable

public org.jdom.Element encodeVariable(ucar.nc2.Variable v)
Method to encode a netcdf Variable object as an xml variable tag

Parameters:
v - netcdf variable object to be encoded
Returns:
xml variable tag as DOM Element object

encodeAttribute

public org.jdom.Element encodeAttribute(ucar.nc2.Attribute a)
Method to encode a netcdf Attribute object as an xml attribute tag

Parameters:
a - netcdf attribute object to be encoded
Returns:
xml attribute tag as JDOM Element object