|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--ucar.ncx.dom.NcxGenericDOMEncoder
Java class implementation of NcxDOMEncoder interface for generic netcdf files. XML metadata is encoded according to the generic netcdf schema http://www.ucar.edu/schemas/netcdf.
| Field Summary | |
protected org.w3c.dom.Document |
doc
XML target document containing encoded Element objects (used as a factory to create DOM Elements) |
protected java.lang.String |
separator
String used as separator for variables and attributes values (default is blank) |
| Constructor Summary | |
NcxGenericDOMEncoder(org.w3c.dom.Document doc)
Constructor |
|
| Method Summary | |
org.w3c.dom.Element |
encodeAttribute(ucar.nc2.Attribute ncatt)
Implementation of NcxDOMEncoder method for generic netcdf schema |
org.w3c.dom.Element |
encodeDimension(ucar.nc2.Dimension ncdim)
Implementation of NcxDOMEncoder method for generic netcdf schema |
org.w3c.dom.Element |
encodeVariable(ucar.nc2.Variable ncvar)
Implementation of NcxDOMEncoder method for generic netcdf schema. |
void |
setSeparator(java.lang.String separator)
Method to set the separator token used for listing variable or attribute values |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.lang.String separator
protected org.w3c.dom.Document doc
| Constructor Detail |
public NcxGenericDOMEncoder(org.w3c.dom.Document doc)
doc - target DOM document where netcdf metadata will be stored| Method Detail |
public org.w3c.dom.Element encodeDimension(ucar.nc2.Dimension ncdim)
encodeDimension in interface NcxDOMEncoderncdim - netcdf dimension object to be encoded
public org.w3c.dom.Element encodeVariable(ucar.nc2.Variable ncvar)
encodeVariable in interface NcxDOMEncoderncvar - netcdf variable object to be encoded
public org.w3c.dom.Element encodeAttribute(ucar.nc2.Attribute ncatt)
encodeAttribute in interface NcxDOMEncoderncatt - netcdf attribute object to be encoded
public void setSeparator(java.lang.String separator)
separator - String used to separate values (default is blank separator)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||