当前位置: 首页>>代码示例>>Java>>正文


Java DescribeSensorDocument类代码示例

本文整理汇总了Java中net.opengis.swes.x20.DescribeSensorDocument的典型用法代码示例。如果您正苦于以下问题:Java DescribeSensorDocument类的具体用法?Java DescribeSensorDocument怎么用?Java DescribeSensorDocument使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


DescribeSensorDocument类属于net.opengis.swes.x20包,在下文中一共展示了DescribeSensorDocument类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: sendDescribeSensorRequestViaPox

import net.opengis.swes.x20.DescribeSensorDocument; //导入依赖的package包/类
private XmlObject sendDescribeSensorRequestViaPox(String version, String procedure, String procedureDescriptionFormat) {
    DescribeSensorDocument document = DescribeSensorDocument.Factory.newInstance();
    DescribeSensorType describeSensorRequest = document.addNewDescribeSensor();
    describeSensorRequest.setService(SosConstants.SOS);
    describeSensorRequest.setVersion(version);
    describeSensorRequest.setProcedure(procedure);
    describeSensorRequest.setProcedureDescriptionFormat(procedureDescriptionFormat);
    XmlObject responseXml = pox().entity(document.xmlText(XML_OPTIONS)).response().asXmlObject();
    return responseXml;
}
 
开发者ID:ioos,项目名称:i52n-sos,代码行数:11,代码来源:DescribeSensorProcedureDescriptionFormatTest.java

示例2: sendDescribeSensorRequestViaPox

import net.opengis.swes.x20.DescribeSensorDocument; //导入依赖的package包/类
protected XmlObject sendDescribeSensorRequestViaPox(String version, String procedure, String procedureDescriptionFormat) {
    DescribeSensorDocument document = DescribeSensorDocument.Factory.newInstance();
    DescribeSensorType describeSensorRequest = document.addNewDescribeSensor();
    describeSensorRequest.setService(SosConstants.SOS);
    describeSensorRequest.setVersion(version);
    describeSensorRequest.setProcedure(procedure);
    describeSensorRequest.setProcedureDescriptionFormat(procedureDescriptionFormat);
    XmlObject responseXml = pox().entity(document.xmlText(XML_OPTIONS)).response().asXmlObject();
    return responseXml;
}
 
开发者ID:ioos,项目名称:i52n-sos,代码行数:11,代码来源:AbstractIoosComplianceSuiteTest.java

示例3: missingServiceParameter

import net.opengis.swes.x20.DescribeSensorDocument; //导入依赖的package包/类
@Override
@Test
public void missingServiceParameter() throws XmlException {
    DescribeSensorDocument describeSensorDocument =
            getRequest("procedure", "procedureDescriptionFormat");
    addVersionParameter(describeSensorDocument.getDescribeSensor());
    missingServiceParameter(describeSensorDocument.getDescribeSensor(), describeSensorDocument);
}
 
开发者ID:52North,项目名称:SOS-Test-Suite,代码行数:9,代码来源:DescribeSensorTest.java

示例4: emptyServiceParameter

import net.opengis.swes.x20.DescribeSensorDocument; //导入依赖的package包/类
@Override
@Test
public void emptyServiceParameter() throws XmlException {
    DescribeSensorDocument describeSensorDocument =
            getRequest("procedure", "procedureDescriptionFormat");
    addVersionParameter(describeSensorDocument.getDescribeSensor());
    emptyServiceParameter(describeSensorDocument.getDescribeSensor(), describeSensorDocument);
}
 
开发者ID:52North,项目名称:SOS-Test-Suite,代码行数:9,代码来源:DescribeSensorTest.java

示例5: invalidServiceParameter

import net.opengis.swes.x20.DescribeSensorDocument; //导入依赖的package包/类
@Override
@Test
public void invalidServiceParameter() throws XmlException {
    DescribeSensorDocument describeSensorDocument =
            getRequest("procedure", "procedureDescriptionFormat");
    addVersionParameter(describeSensorDocument.getDescribeSensor());
    invalidServiceParameter(describeSensorDocument.getDescribeSensor(), describeSensorDocument);
}
 
开发者ID:52North,项目名称:SOS-Test-Suite,代码行数:9,代码来源:DescribeSensorTest.java

示例6: getRequest

import net.opengis.swes.x20.DescribeSensorDocument; //导入依赖的package包/类
protected DescribeSensorDocument getRequest(String procedure,
                                            String procedureDescriptionFormat) {
    DescribeSensorDocument describeSensorDocument =
            DescribeSensorDocument.Factory.newInstance();
    DescribeSensorType describeSensorType = describeSensorDocument
            .addNewDescribeSensor();
    describeSensorType.setProcedure(procedure);
    describeSensorType
            .setProcedureDescriptionFormat(procedureDescriptionFormat);
    return describeSensorDocument;
}
 
开发者ID:52North,项目名称:SOS-Test-Suite,代码行数:12,代码来源:DescribeSensorTest.java


注:本文中的net.opengis.swes.x20.DescribeSensorDocument类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。