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.IOException
public org.jdom2.Document makeStationCollectionDocument(LatLonRect bb, java.lang.String[] names)
bb
- restrict stations to this bounding box, may be nullnames
- restrict stations to these names, may be nullpublic org.jdom2.Document getCapabilitiesDocument()
public org.jdom2.Document readCapabilitiesDocument(java.io.InputStream in) throws org.jdom2.JDOMException, java.io.IOException
org.jdom2.JDOMException
java.io.IOException
public static LatLonRect getSpatialExtent(org.jdom2.Document doc)
public static CalendarDateRange getTimeSpan(org.jdom2.Document doc)
public static CalendarDateUnit getTimeUnit(org.jdom2.Document doc)
public static java.lang.String getAltUnits(org.jdom2.Document doc)
public static java.util.List<VariableSimpleIF> getDataVariables(org.jdom2.Document doc)