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;
}
Aggregations