public class WFSGetFeatureWriter extends Object
| Constructor and Description |
|---|
WFSGetFeatureWriter(PrintWriter response,
String server,
String namespace,
List<ucar.nc2.ft2.simpgeometry.SimpleGeometry> geometries,
String ftName)
Opens a WFSGetFeatureWriter, writes to the response given.
|
| Modifier and Type | Method and Description |
|---|---|
void |
finishXML()
Finish writing the XML file, write the end tag for FeatureCollection and append it all to the PrintWriter.
|
void |
startXML()
Initiate the response with an XML file with an XML header and the FeatureCollection tag.
|
void |
writeMembers()
In the WFS specification for GetFeature each feature type is its own
member and so writeMembers add each member to the fileOutput
|
public WFSGetFeatureWriter(PrintWriter response, String server, String namespace, List<ucar.nc2.ft2.simpgeometry.SimpleGeometry> geometries, String ftName)
response - to write toserver - WFS Server URInamespace - WFS TDS Namespace URIIOExceptionpublic void startXML()
public void writeMembers()
public void finishXML()