作者:w果乐园地盘BSp | 来源:互联网 | 2023-10-12 08:42
本文整理了Java中net.opengis.gml.x32.FeaturePropertyType.isNil()
方法的一些代码示例,展示了FeaturePropertyType.isNil()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FeaturePropertyType.isNil()
方法的具体详情如下:
包路径:net.opengis.gml.x32.FeaturePropertyType
类名称:FeaturePropertyType
方法名:isNil
FeaturePropertyType.isNil介绍
暂无
代码示例
代码示例来源:origin: org.n52.sensorweb/52n-xml-sampling-v20
/**
* Tests for nil ith "sampledFeature" element
*/
public boolean isNilSampledFeatureArray(int i)
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.x32.FeaturePropertyType target = null;
target = (net.opengis.gml.x32.FeaturePropertyType)get_store().find_element_user(SAMPLEDFEATURE$2, i);
if (target == null)
{
throw new IndexOutOfBoundsException();
}
return target.isNil();
}
}
代码示例来源:origin: org.n52.sensorweb/52n-xml-om-v20
/**
* Tests for nil "featureOfInterest" element
*/
public boolean isNilFeatureOfInterest()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.x32.FeaturePropertyType target = null;
target = (net.opengis.gml.x32.FeaturePropertyType)get_store().find_element_user(FEATUREOFINTEREST$18, 0);
if (target == null) return false;
return target.isNil();
}
}
代码示例来源:origin: org.n52.sensorweb/52n-xml-inspire-ef-v40
/**
* Tests for nil "featureOfInterest" element
*/
public boolean isNilFeatureOfInterest()
{
synchronized (monitor())
{
check_orphaned();
net.opengis.gml.x32.FeaturePropertyType target = null;
target = (net.opengis.gml.x32.FeaturePropertyType)get_store().find_element_user(FEATUREOFINTEREST$10, 0);
if (target == null) return false;
return target.isNil();
}
}
代码示例来源:origin: org.n52.series-api/proxy-dao
private List getSampledFeatures(final FeaturePropertyType sampledFeature)
throws DecodingException {
final List sampledFeatures = new ArrayList<>(1);
if (sampledFeature != null && !sampledFeature.isNil()) {
代码示例来源:origin: org.n52.svalbard/svalbard-xmlbeans
throws DecodingException {
final List sampledFeatures = new ArrayList<>(1);
if (sampledFeature != null && !sampledFeature.isNil()) {
代码示例来源:origin: org.n52.svalbard/svalbard-xmlbeans
throws DecodingException {
final List sampledFeatures = new ArrayList(1);
if (sampledFeature != null && !sampledFeature.isNil()) {
代码示例来源:origin: org.n52.svalbard/svalbard-xmlbeans
private Nillable createFeatureOfInterest(OMObservationType omot,
Map featureMap) throws DecodingException {
if (omot.getFeatureOfInterest().isNil() || omot.getFeatureOfInterest().isSetNilReason()) {
if (omot.getFeatureOfInterest().isSetNilReason()) {
return Nillable. nil(omot.getFeatureOfInterest().getNilReason().toString());
}
} else {
Object decodeXmlElement = decodeXmlElement(omot.getFeatureOfInterest());
if (decodeXmlElement instanceof AbstractFeature) {
AbstractFeature featureOfInterest = (AbstractFeature) decodeXmlElement;
return Nillable.of(checkFeatureWithMap(featureOfInterest, featureMap));
}
}
return Nillable. nil();
}