Class PointSubsetWriterXML
- java.lang.Object
-
- thredds.server.ncss.view.dsg.DsgSubsetWriter
-
- thredds.server.ncss.view.dsg.point.AbstractPointSubsetWriter
-
- thredds.server.ncss.view.dsg.point.PointSubsetWriterXML
-
public class PointSubsetWriterXML extends AbstractPointSubsetWriter
Created by cwardgar on 2014/06/03.
-
-
Field Summary
-
Fields inherited from class thredds.server.ncss.view.dsg.point.AbstractPointSubsetWriter
pointFeatureCollection
-
Fields inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
fdPoint, ncssParams, wantedRange, wantedVariables
-
-
Constructor Summary
Constructors Constructor Description PointSubsetWriterXML(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, OutputStream out)PointSubsetWriterXML(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, OutputStream out, int collectionIndex, XMLStreamWriter staxWriter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.HttpHeadersgetHttpHeaders(String datasetPath, boolean isStream)voidwriteFooter()voidwriteHeader(ucar.nc2.ft.PointFeature pf)voidwritePoint(ucar.nc2.ft.PointFeature pointFeat)-
Methods inherited from class thredds.server.ncss.view.dsg.point.AbstractPointSubsetWriter
write
-
Methods inherited from class thredds.server.ncss.view.dsg.DsgSubsetWriter
getWantedDateRange, getWantedVariables, respond
-
-
-
-
Constructor Detail
-
PointSubsetWriterXML
public PointSubsetWriterXML(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, OutputStream out) throws XMLStreamException, NcssException- Throws:
XMLStreamExceptionNcssException
-
PointSubsetWriterXML
public PointSubsetWriterXML(ucar.nc2.ft.FeatureDatasetPoint fdPoint, ucar.nc2.ft2.coverage.SubsetParams ncssParams, OutputStream out, int collectionIndex, XMLStreamWriter staxWriter) throws XMLStreamException, NcssException- Throws:
XMLStreamExceptionNcssException
-
-
Method Detail
-
getHttpHeaders
public org.springframework.http.HttpHeaders getHttpHeaders(String datasetPath, boolean isStream)
- Specified by:
getHttpHeadersin classDsgSubsetWriter
-
writeHeader
public void writeHeader(ucar.nc2.ft.PointFeature pf) throws XMLStreamException- Specified by:
writeHeaderin classAbstractPointSubsetWriter- Throws:
XMLStreamException
-
writePoint
public void writePoint(ucar.nc2.ft.PointFeature pointFeat) throws XMLStreamException, IOException- Specified by:
writePointin classAbstractPointSubsetWriter- Throws:
XMLStreamExceptionIOException
-
writeFooter
public void writeFooter() throws XMLStreamException- Specified by:
writeFooterin classAbstractPointSubsetWriter- Throws:
XMLStreamException
-
-