Search in sources :

Example 1 with InsertFeatureOfInterestResponseDocument

use of net.opengis.ifoi.x10.InsertFeatureOfInterestResponseDocument in project arctic-sea by 52North.

the class InsertFeatureOfInterestEncoder method create.

@Override
protected XmlObject create(InsertFeatureOfInterestResponse ifoir) throws EncodingException {
    if (ifoir == null) {
        throw new UnsupportedEncoderInputException(this, InsertFeatureOfInterestResponse.class);
    }
    InsertFeatureOfInterestResponseDocument ifoird = InsertFeatureOfInterestResponseDocument.Factory.newInstance(getXmlOptions());
    ifoird.addNewInsertFeatureOfInterestResponse();
    return ifoird;
}
Also used : InsertFeatureOfInterestResponseDocument(net.opengis.ifoi.x10.InsertFeatureOfInterestResponseDocument) UnsupportedEncoderInputException(org.n52.svalbard.encode.exception.UnsupportedEncoderInputException)

Aggregations

InsertFeatureOfInterestResponseDocument (net.opengis.ifoi.x10.InsertFeatureOfInterestResponseDocument)1 UnsupportedEncoderInputException (org.n52.svalbard.encode.exception.UnsupportedEncoderInputException)1