use of net.opengis.cat.csw.v_2_0_2.InsertResultType in project arctic-sea by 52North.
the class SosDecoderv20 method parseInsertResult.
private OwsServiceRequest parseInsertResult(final InsertResultDocument insertResultDoc) throws DecodingException {
final InsertResultType insertResult = insertResultDoc.getInsertResult();
final InsertResultRequest sosInsertResultRequest = new InsertResultRequest();
sosInsertResultRequest.setService(insertResult.getService());
sosInsertResultRequest.setVersion(insertResult.getVersion());
sosInsertResultRequest.setTemplateIdentifier(insertResult.getTemplate());
sosInsertResultRequest.setResultValues(parseResultValues(insertResult.getResultValues()));
sosInsertResultRequest.setExtensions(parseExtensibleRequest(insertResult));
return sosInsertResultRequest;
}
Aggregations