private Set<Name> getSupportedTypes() throws IOException { Set<Name> result = new HashSet<Name>(); for (RecordDescriptor rd : store.getRecordDescriptors()) { result.add(rd.getFeatureDescriptor().getName()); } return result; }
private Set<Name> getSupportedTypes() throws IOException { Set<Name> result = new HashSet<Name>(); for (RecordDescriptor rd : store.getRecordDescriptors()) { result.add(rd.getFeatureDescriptor().getName()); } return result; }
return getFeatureDescriptors(store.getRecordDescriptors()); } else { List<AttributeDescriptor> result = new ArrayList<AttributeDescriptor>(); getFeatureDescriptors(store.getRecordDescriptors()); for (AttributeDescriptor descriptor : descriptors) {
return getFeatureDescriptors(store.getRecordDescriptors()); } else { List<AttributeDescriptor> result = new ArrayList<AttributeDescriptor>(); requested.add(name.getLocalPart()); AttributeDescriptor[] descriptors = getFeatureDescriptors(store.getRecordDescriptors()); for (AttributeDescriptor descriptor : descriptors) {
public GetDomain(CSWInfo csw, CatalogStore store) { this.csw = csw; this.store = store; try { for (RecordDescriptor rd : store.getRecordDescriptors()) { for (Name prop : store.getCapabilities().getDomainQueriables(rd.getFeatureDescriptor().getName())) { attributeTypeMap.put(prop, rd.getFeatureDescriptor().getName()); Enumeration declaredPrefixes = rd.getNamespaceSupport().getDeclaredPrefixes(); while (declaredPrefixes.hasMoreElements()) { String prefix = (String) declaredPrefixes.nextElement(); String uri = rd.getNamespaceSupport().getURI(prefix); ns.declarePrefix(prefix, uri); } } } } catch (IOException e) { throw new ServiceException(e, "Failed to retrieve the domain values", ServiceException.NO_APPLICABLE_CODE); } }
public GetDomain(CSWInfo csw, CatalogStore store) { this.csw = csw; this.store = store; try { for (RecordDescriptor rd : store.getRecordDescriptors()) { for (Name prop : store.getCapabilities() .getDomainQueriables(rd.getFeatureDescriptor().getName())) { attributeTypeMap.put(prop, rd.getFeatureDescriptor().getName()); Enumeration declaredPrefixes = rd.getNamespaceSupport().getDeclaredPrefixes(); while (declaredPrefixes.hasMoreElements()) { String prefix = (String) declaredPrefixes.nextElement(); String uri = rd.getNamespaceSupport().getURI(prefix); ns.declarePrefix(prefix, uri); } } } } catch (IOException e) { throw new ServiceException( e, "Failed to retrieve the domain values", ServiceException.NO_APPLICABLE_CODE); } }
for (RecordDescriptor rd : store.getRecordDescriptors()) { List<Name> queriables = store.getCapabilities().getDomainQueriables(rd.getFeatureDescriptor().getName());
for (RecordDescriptor rd : store.getRecordDescriptors()) { List<Name> queriables = store.getCapabilities()
for (RecordDescriptor rd : store.getRecordDescriptors()) { List<Name> queriables = store.getCapabilities().getQueriables(rd.getFeatureDescriptor().getName());
for(RecordDescriptor rd : store.getRecordDescriptors()) { List<Name> queriables = store.getCapabilities().getQueriables(rd.getFeatureDescriptor().getName() ); if(queriables != null && queriables.size() > 0) {