private Set<String> getExplicitlyRequestedNamespaces( DescribeFeatureType request, WfsFeatureStoreManager storeManager ) { Set<String> set = new LinkedHashSet<String>(); for ( String ns : request.getNsBindings().values() ) { for ( FeatureStore fs : storeManager.getStores() ) { AppSchema schema = fs.getSchema(); if ( schema.getNamespaceBindings().values().contains( ns ) ) { set.add( ns ); break; } } } return set; }
AppSchema schema = f.getType().getSchema(); if ( schema != null ) nsBindings.putAll( schema.getNamespaceBindings() );
for ( Entry<String, String> e : fs.getSchema().getNamespaceBindings().entrySet() ) { prefixToNs.put( e.getKey(), e.getValue() ); targetNsToPrefix.put( e.getValue(), e.getKey() );
Map<String, String> schemaNSBindings = gmlSchema.getNamespaceBindings(); for ( String prefix : schemaNSBindings.keySet() ) { String nsUri = schemaNSBindings.get( prefix );
if ( store != null ) { addStore( store ); addNotYetHintedNamespaces( store.getSchema().getNamespaceBindings().values() ); addNotYetHintedNamespaces( store.getSchema().getNamespaceBindings().values() );
bindings = f.getType().getSchema().getNamespaceBindings();
ftToSuperFt.remove( ft ); Map<String, String> prefixToNs = appSchema.getNamespaceBindings(); GMLSchemaInfoSet xsModel = appSchema.getGMLSchema();
type = ft; if ( ft.getSchema() != null ) { nsBindings.putAll( ft.getSchema().getNamespaceBindings() );