Search in sources :

Example 1 with DeleteResultTemplateType

use of net.opengis.drt.x10.DeleteResultTemplateType in project arctic-sea by 52North.

the class DeleteResultTemplateDecoder method parseDeleteResultTemplate.

private DeleteResultTemplateRequest parseDeleteResultTemplate(DeleteResultTemplateDocument drtd) throws DecodingException {
    DeleteResultTemplateRequest request = null;
    DeleteResultTemplateType drtt = drtd.getDeleteResultTemplate();
    request = new DeleteResultTemplateRequest();
    request.setVersion(drtt.getVersion());
    request.setService(drtt.getService());
    if (drtt.sizeOfResultTemplateArray() > 0) {
        parseResultTemplates(drtt.getResultTemplateArray(), request);
    }
    if (drtt.sizeOfTupleArray() > 0) {
        parseObservedPropertyOfferingPairs(drtt.getTupleArray(), request);
    }
    return request;
}
Also used : DeleteResultTemplateType(net.opengis.drt.x10.DeleteResultTemplateType) DeleteResultTemplateRequest(org.n52.shetland.ogc.sos.drt.DeleteResultTemplateRequest)

Aggregations

DeleteResultTemplateType (net.opengis.drt.x10.DeleteResultTemplateType)1 DeleteResultTemplateRequest (org.n52.shetland.ogc.sos.drt.DeleteResultTemplateRequest)1