org.geoserver.ows.Request.setOutputFormat()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.4k)|赞(0)|评价(0)|浏览(216)

本文整理了Java中org.geoserver.ows.Request.setOutputFormat方法的一些代码示例,展示了Request.setOutputFormat的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Request.setOutputFormat方法的具体详情如下:
包路径:org.geoserver.ows.Request
类名称:Request
方法名:setOutputFormat

Request.setOutputFormat介绍

[英]Allows call backs to override the output format
[中]允许回调覆盖输出格式

代码示例

代码示例来源:origin: geoserver/geoserver

req.setOutputFormat(
    lookupRequestBeanProperty(requestBean, "outputFormat", true));

代码示例来源:origin: geoserver/geoserver

normalizeVersion(normalize(KvpUtils.getSingleValue(req.getKvp(), "version"))));
req.setRequest(normalize(KvpUtils.getSingleValue(req.getKvp(), "request")));
req.setOutputFormat(normalize(KvpUtils.getSingleValue(req.getKvp(), "outputFormat")));
  req.setOutputFormat(normalize((String) xml.get("outputFormat")));

代码示例来源:origin: org.geoserver.community/gs-wfs3

private void setOutputFormat(
    Request request, Object parsedRequest, Method formatSetter, String outputformat)
    throws IllegalAccessException, InvocationTargetException {
  request.setOutputFormat(outputformat);
  formatSetter.invoke(parsedRequest, outputformat);
}

代码示例来源:origin: org.geoserver.extension/control-flow

Request buildRequest(String service, String request, String outputFormat) {
    Request r = new Request();
    r.setService(service);
    r.setRequest(request);
    r.setOutputFormat(outputFormat);

    return r;
  }
}

相关文章