public class FeatureDatasetCapabilitiesWriter
extends java.lang.Object
| Constructor and Description |
|---|
FeatureDatasetCapabilitiesWriter(FeatureDatasetPoint fdp,
java.lang.String path) |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getAltUnits(org.jdom2.Document doc) |
java.lang.String |
getCapabilities() |
void |
getCapabilities(java.io.OutputStream os) |
org.jdom2.Document |
getCapabilitiesDocument()
Create the capabilities XML document for this dataset
|
static java.util.List<VariableSimpleIF> |
getDataVariables(org.jdom2.Document doc) |
static LatLonRect |
getSpatialExtent(org.jdom2.Document doc) |
static CalendarDateRange |
getTimeSpan(org.jdom2.Document doc) |
static CalendarDateUnit |
getTimeUnit(org.jdom2.Document doc) |
org.jdom2.Document |
makeStationCollectionDocument(LatLonRect bb,
java.lang.String[] names)
Create an XML document for the stations in this dataset, possible subsetted by bb.
|
org.jdom2.Document |
readCapabilitiesDocument(java.io.InputStream in) |
public FeatureDatasetCapabilitiesWriter(FeatureDatasetPoint fdp, java.lang.String path)
public java.lang.String getCapabilities()
public void getCapabilities(java.io.OutputStream os)
throws java.io.IOException
java.io.IOExceptionpublic org.jdom2.Document makeStationCollectionDocument(LatLonRect bb, java.lang.String[] names) throws java.io.IOException
bb - restrict stations to this bounding box, may be nullnames - restrict stations to these names, may be nulljava.io.IOException - on read errorpublic org.jdom2.Document getCapabilitiesDocument()
public org.jdom2.Document readCapabilitiesDocument(java.io.InputStream in)
throws org.jdom2.JDOMException,
java.io.IOException
org.jdom2.JDOMExceptionjava.io.IOExceptionpublic static LatLonRect getSpatialExtent(org.jdom2.Document doc) throws java.io.IOException
java.io.IOExceptionpublic static CalendarDateRange getTimeSpan(org.jdom2.Document doc) throws java.io.IOException
java.io.IOExceptionpublic static CalendarDateUnit getTimeUnit(org.jdom2.Document doc)
public static java.lang.String getAltUnits(org.jdom2.Document doc)
throws java.io.IOException
java.io.IOExceptionpublic static java.util.List<VariableSimpleIF> getDataVariables(org.jdom2.Document doc) throws java.io.IOException
java.io.IOException