tds/src/main/java/thredds/server/wfs/WFSController.java
private void getCapabilities(PrintWriter out, HttpServletRequest hsreq, SimpleGeometryCSBuilder sgcs) {
		WFSGetCapabilitiesWriter gcdw = new WFSGetCapabilitiesWriter(out, WFSController.constructServerPath(hsreq));
		gcdw.startXML();
		gcdw.addOperation(WFSRequestType.GetCapabilities); gcdw.addOperation(WFSRequestType.DescribeFeatureType); gcdw.addOperation(WFSRequestType.GetFeature);
		gcdw.writeOperations();
		
		List<String> seriesNames = sgcs.getGeometrySeriesNames();
		
		for(String name : seriesNames) {
			gcdw.addFeature(new WFSFeature(TDSNAMESPACE + ":" + name, name));
		}

		gcdw.writeFeatureTypes();
		gcdw.finishXML();
	}
private void getCapabilities(PrintWriter out, HttpServletRequest hsreq, SimpleGeometryCSBuilder sgcs) {
		WFSGetCapabilitiesWriter gcdw = new WFSGetCapabilitiesWriter(out, WFSController.constructServerPath(hsreq));
		gcdw.startXML();
		gcdw.addOperation(WFSRequestType.GetCapabilities); gcdw.addOperation(WFSRequestType.DescribeFeatureType); gcdw.addOperation(WFSRequestType.GetFeature);
		gcdw.writeOperations();
		
		List<String> seriesNames = sgcs.getGeometrySeriesNames();
		
		for(String name : seriesNames) {
			gcdw.addFeature(new WFSFeature(TDSNAMESPACE + ":" + name, name));
		}

		gcdw.writeFeatureTypes();
		gcdw.finishXML();
	}
Processes GetCapabilities requests.

@param out
@return