|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucar.nc2.dt.grid.GridDatasetInfo
public class GridDatasetInfo
A helper class to GridDataset; creates a GridDataset XML document. This is a candidate for the XML representation of the Grid SDT. Used to create form for NetcdfSubsetService for Grids.
Constructor Summary | |
---|---|
GridDatasetInfo(GridDataset gds,
String path)
|
Method Summary | |
---|---|
static void |
main(String[] args)
debug |
org.jdom.Document |
makeDatasetDescription()
Create the "Dataset Description" XML document from this GridDataset |
org.jdom.Document |
makeGridForm()
Create the "Grid Form" XML document from this GridDataset. |
String |
writeXML(org.jdom.Document doc)
Write the information as an XML document |
void |
writeXML(org.jdom.Document doc,
OutputStream os)
Write the information as an XML document |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridDatasetInfo(GridDataset gds, String path)
Method Detail |
---|
public String writeXML(org.jdom.Document doc)
doc
- write XML for this Document
public void writeXML(org.jdom.Document doc, OutputStream os) throws IOException
doc
- write XML for this Documentos
- write to this output stream
IOException
- on write errorpublic org.jdom.Document makeDatasetDescription()
public org.jdom.Document makeGridForm()
public static void main(String[] args) throws IOException
args
- ignored
IOException
- on io error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |