本文整理了Java中org.n52.shetland.ogc.ows.extension.Extension.getNamespace()
方法的一些代码示例,展示了Extension.getNamespace()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Extension.getNamespace()
方法的具体详情如下:
包路径:org.n52.shetland.ogc.ows.extension.Extension
类名称:Extension
方法名:getNamespace
暂无
代码示例来源:origin: org.n52.shetland/shetland
default boolean isSetNamespace() {
return getNamespace() != null && !getNamespace().isEmpty();
}
代码示例来源:origin: org.n52.arctic-sea/shetland
default boolean isSetNamespace() {
return getNamespace() != null && !getNamespace().isEmpty();
}
代码示例来源:origin: org.n52.svalbard/svalbard-xmlbeans
default void addExtension(ExtensibleRequestType ert, OwsServiceRequest request) throws EncodingException {
for (Extension<?> extension : request.getExtensions().getExtensions()) {
ert.addNewExtension().set(encodeObjectToXml(extension.getNamespace(), extension));
}
}
代码示例来源:origin: org.n52.svalbard/svalbard-xmlbeans
private void encodeOfferingExtension(SosObservationOffering sosOffering, ObservationOfferingType xbObsOff)
throws EncodingException {
for (Extension<?> extention : sosOffering.getExtensions().getExtensions()) {
if (extention.getValue() instanceof SosObservationOfferingExtension) {
SosObservationOfferingExtension extension = (SosObservationOfferingExtension) extention.getValue();
try {
xbObsOff.addNewExtension().set(XmlObject.Factory.parse(extension.getExtension()));
} catch (XmlException ex) {
throw errorEncodingSwesExtension(ex);
}
} else {
xbObsOff.addNewExtension().set(encodeObjectToXml(extention.getNamespace(), extention));
}
}
}
内容来源于网络,如有侵权,请联系作者删除!