public class WFSGetCapabilitiesWriter extends Object
| Constructor and Description |
|---|
WFSGetCapabilitiesWriter(PrintWriter response,
String server)
Opens a WFSDataWriter, writes to the HttpResponse given.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFeature(WFSFeature feature)
Add a feature to the writer's feature list.
|
void |
addOperation(WFSRequestType rt)
Given the parameter operation name, add the operation
to the operations metadata section.
|
void |
finishXML()
Finish writing the XML file, write the end tag for WFS_Capabilities and append it all to the PrintWriter.
|
void |
startXML()
Initiate the response with an XML file with an XML header.
|
void |
writeFeatureTypes() |
void |
writeOperations()
Takes all added operations and writes an operations metadata section.
|
public WFSGetCapabilitiesWriter(PrintWriter response, String server)
response - to write toserver - URIpublic void startXML()
public void finishXML()
public void addOperation(WFSRequestType rt)
public void writeOperations()
public void writeFeatureTypes()
public void addFeature(WFSFeature feature)
feature - to add