@Override public Set<String> getOutputFormats() { final OutputFormatListType outputFormats = eType.getOutputFormats(); if (null == outputFormats) { return Collections.emptySet(); } @SuppressWarnings("unchecked") List<String> ftypeDeclaredFormats = outputFormats.getFormat(); if (null == ftypeDeclaredFormats || ftypeDeclaredFormats.isEmpty()) { return Collections.emptySet(); } return new HashSet<String>(ftypeDeclaredFormats); }
/** * Sets the "OutputFormats" element */ public void setOutputFormats(net.opengis.wfs.OutputFormatListType outputFormats) { synchronized (monitor()) { check_orphaned(); net.opengis.wfs.OutputFormatListType target = null; target = (net.opengis.wfs.OutputFormatListType)get_store().find_element_user(OUTPUTFORMATS$8, 0); if (target == null) { target = (net.opengis.wfs.OutputFormatListType)get_store().add_element_user(OUTPUTFORMATS$8); } target.set(outputFormats); } }
/** * Sets the "OutputFormats" element */ public void setOutputFormats(net.opengis.wfs.OutputFormatListType outputFormats) { synchronized (monitor()) { check_orphaned(); net.opengis.wfs.OutputFormatListType target = null; target = (net.opengis.wfs.OutputFormatListType)get_store().find_element_user(OUTPUTFORMATS$16, 0); if (target == null) { target = (net.opengis.wfs.OutputFormatListType)get_store().add_element_user(OUTPUTFORMATS$16); } target.set(outputFormats); } }
@Override public Set<String> getOutputFormats() { final OutputFormatListType outputFormats = eType.getOutputFormats(); if (null == outputFormats) { return Collections.emptySet(); } @SuppressWarnings("unchecked") List<String> ftypeDeclaredFormats = outputFormats.getFormat(); if (null == ftypeDeclaredFormats || ftypeDeclaredFormats.isEmpty()) { return Collections.emptySet(); } return new HashSet<String>(ftypeDeclaredFormats); }
/** * @see WFSProtocol#getSupportedOutputFormats(String) */ public Set<String> getSupportedOutputFormats(String typeName) { final Set<String> serviceOutputFormats = getSupportedGetFeatureOutputFormats(); final FeatureTypeType typeInfo = getFeatureTypeInfo(typeName); final OutputFormatListType outputFormats = typeInfo.getOutputFormats(); Set<String> ftypeFormats = new HashSet<String>(); if (outputFormats != null) { List<String> ftypeDeclaredFormats = outputFormats.getFormat(); ftypeFormats.addAll(ftypeDeclaredFormats); } ftypeFormats.addAll(serviceOutputFormats); return ftypeFormats; }
net.opengis.wfs.FeatureTypeType ft = (FeatureTypeType) featuretypes.get(i); if (ft.getOutputFormats()!=null){ List value=ft.getOutputFormats().getFormat(); if (supportedByAllFeatureTypes ==null){ supportedByAllFeatureTypes=value;