本文整理汇总了Java中net.opengis.swes.x20.DescribeSensorType类的典型用法代码示例。如果您正苦于以下问题:Java DescribeSensorType类的具体用法?Java DescribeSensorType怎么用?Java DescribeSensorType使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
DescribeSensorType类属于net.opengis.swes.x20包,在下文中一共展示了DescribeSensorType类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: sendDescribeSensorRequestViaPox
import net.opengis.swes.x20.DescribeSensorType; //导入依赖的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;
}
示例2: sendDescribeSensorRequestViaPox
import net.opengis.swes.x20.DescribeSensorType; //导入依赖的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;
}
示例3: getRequest
import net.opengis.swes.x20.DescribeSensorType; //导入依赖的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;
}