Search in sources :

Example 1 with CodeType

use of net.opengis.ows.v_1_0_0.CodeType in project ddf by codice.

the class CswEndpoint method buildServiceIdentification.

/**
     * Creates the ServiceIdentification portion of the GetCapabilities response TODO: Add more
     * DDF-specific information if desired (Fees, Keywords, and AccessConstraints are all currently
     * empty, and the abstract is very basic)
     *
     * @return The constructed ServiceIdentification object
     */
private ServiceIdentification buildServiceIdentification() {
    ServiceIdentification si = new ServiceIdentification();
    si.setTitle(SERVICE_TITLE);
    si.setServiceTypeVersion(SERVICE_TYPE_VERSION);
    CodeType type = new CodeType();
    type.setValue(CswConstants.CSW);
    si.setServiceType(type);
    si.setAbstract(SERVICE_ABSTRACT);
    return si;
}
Also used : CodeType(net.opengis.ows.v_1_0_0.CodeType) ServiceIdentification(net.opengis.ows.v_1_0_0.ServiceIdentification)

Aggregations

CodeType (net.opengis.ows.v_1_0_0.CodeType)1 ServiceIdentification (net.opengis.ows.v_1_0_0.ServiceIdentification)1