Package ucar.nc2.ft2.coverage.writer
Class CoverageDatasetCapabilities
- java.lang.Object
-
- ucar.nc2.ft2.coverage.writer.CoverageDatasetCapabilities
-
public class CoverageDatasetCapabilities extends Object
Helper class to create a DatasetCapabilities XML document for CoverageDataset- Since:
- 5/7/2015
-
-
Constructor Summary
Constructors Constructor Description CoverageDatasetCapabilities(CoverageCollection gds, String path)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jdom2.Document
makeDatasetDescription()
Create the "Dataset Description" XML document from this GridDatasetString
writeXML(org.jdom2.Document doc)
Write the information as an XML documentvoid
writeXML(org.jdom2.Document doc, OutputStream os)
Write the information as an XML document
-
-
-
Constructor Detail
-
CoverageDatasetCapabilities
public CoverageDatasetCapabilities(CoverageCollection gds, String path)
-
-
Method Detail
-
writeXML
public String writeXML(org.jdom2.Document doc)
Write the information as an XML document- Parameters:
doc
- write XML for this Document- Returns:
- String output
-
writeXML
public void writeXML(org.jdom2.Document doc, OutputStream os) throws IOException
Write the information as an XML document- Parameters:
doc
- write XML for this Documentos
- write to this output stream- Throws:
IOException
- on write error
-
makeDatasetDescription
public org.jdom2.Document makeDatasetDescription()
Create the "Dataset Description" XML document from this GridDataset- Returns:
- a JDOM Document
-
-