use of net.opengis.ows.v_1_0_0.AcceptVersionsType in project ddf by codice.
the class TestCswEndpoint method createDefaultGetCapabilitiesType.
/**
* Creates default GetCapabilities POST request, with no sections specified
*
* @return Vanilla GetCapabilitiesType object
*/
private GetCapabilitiesType createDefaultGetCapabilitiesType() {
GetCapabilitiesType gct = new GetCapabilitiesType();
gct.setService(CswConstants.CSW);
AcceptVersionsType avt = new AcceptVersionsType();
avt.setVersion(CswEndpoint.SERVICE_TYPE_VERSION);
gct.setAcceptVersions(avt);
return gct;
}
Aggregations