Search in sources :

Example 1 with AcceptVersionsType

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;
}
Also used : GetCapabilitiesType(net.opengis.cat.csw.v_2_0_2.GetCapabilitiesType) AcceptVersionsType(net.opengis.ows.v_1_0_0.AcceptVersionsType)

Aggregations

GetCapabilitiesType (net.opengis.cat.csw.v_2_0_2.GetCapabilitiesType)1 AcceptVersionsType (net.opengis.ows.v_1_0_0.AcceptVersionsType)1