Class StationSubsetWriterXML
- java.lang.Object
-
- thredds.server.ncss.view.dsg.DsgSubsetWriter
-
- thredds.server.ncss.view.dsg.station.AbstractStationSubsetWriter
-
- thredds.server.ncss.view.dsg.station.StationSubsetWriterXML
-
public class StationSubsetWriterXML extends AbstractStationSubsetWriter
Created by cwardgar on 2014/05/27.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class thredds.server.ncss.view.dsg.station.AbstractStationSubsetWriter
AbstractStationSubsetWriter.ClosestTimeStationFeatureSubset
-
-
Field Summary
-
Fields inherited from class thredds.server.ncss.view.dsg.station.AbstractStationSubsetWriter
headerDone, stationFeatureCollection, wantedStations
-
Fields inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
fdPoint, ncssParams, wantedRange, wantedVariables
-
-
Constructor Summary
Constructors Constructor Description StationSubsetWriterXML(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, OutputStream out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.HttpHeadersgetHttpHeaders(String datasetPath, boolean isStream)protected voidwriteFooter()protected voidwriteHeader(ucar.nc2.ft.point.StationPointFeature stationPointFeat)protected voidwriteStationPointFeature(ucar.nc2.ft.point.StationPointFeature stationPointFeat)-
Methods inherited from class thredds.server.ncss.view.dsg.station.AbstractStationSubsetWriter
findClosestStation, getStationsInSubset, write, writeStationTimeSeriesFeature
-
Methods inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
getWantedDateRange, getWantedVariables, respond
-
-
-
-
Constructor Detail
-
StationSubsetWriterXML
public StationSubsetWriterXML(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, OutputStream out) throws XMLStreamException, NcssException, IOException
-
-
Method Detail
-
getHttpHeaders
public org.springframework.http.HttpHeaders getHttpHeaders(String datasetPath, boolean isStream)
- Specified by:
getHttpHeadersin classDsgSubsetWriter
-
writeHeader
protected void writeHeader(ucar.nc2.ft.point.StationPointFeature stationPointFeat) throws XMLStreamException- Specified by:
writeHeaderin classAbstractStationSubsetWriter- Throws:
XMLStreamException
-
writeStationPointFeature
protected void writeStationPointFeature(ucar.nc2.ft.point.StationPointFeature stationPointFeat) throws XMLStreamException, IOException- Specified by:
writeStationPointFeaturein classAbstractStationSubsetWriter- Throws:
XMLStreamExceptionIOException
-
writeFooter
protected void writeFooter() throws XMLStreamException- Specified by:
writeFooterin classAbstractStationSubsetWriter- Throws:
XMLStreamException
-
-