|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.services.wfs.WFSFeatureStoreManager
public class WFSFeatureStoreManager
Manages the FeatureStore
instances for the WebFeatureService
.
WebFeatureService
Constructor Summary | |
---|---|
WFSFeatureStoreManager()
|
Method Summary | |
---|---|
void |
addStore(FeatureStore fs)
Registers a new FeatureStore to the WFS. |
QName[] |
getFeatureTypeNames()
Returns the qualified names of all served FeatureType s. |
Collection<FeatureType> |
getFeatureTypes()
Returns all FeatureType s. |
Map<String,String> |
getPrefixToNs()
Get the prefix-to-namespace map that is constructed from the NamespaceHints in the configuration |
FeatureStore |
getStore(QName ftName)
Returns the FeatureStore instance which is responsible for the specified feature type. |
FeatureStore[] |
getStores()
Returns all registered FeatureStore instances. |
Map<String,String> |
getTargetNsToPrefix()
Get the namespace-to-prefix bindings for the namespaces of the application schemas. |
void |
init(DeegreeWFS sc,
String baseURL,
DeegreeWorkspace workspace)
|
FeatureType |
lookupFeatureType(QName ftName)
Looks up the FeatureType with the given qualified name (in a namespace-tolerant manner). |
void |
removeStore(FeatureStore fs)
Deregisters the specified FeatureStore from the WFS. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WFSFeatureStoreManager()
Method Detail |
---|
public void init(DeegreeWFS sc, String baseURL, DeegreeWorkspace workspace) throws ResourceInitException
sc
- baseURL
-
FeatureStoreException
ResourceInitException
public QName[] getFeatureTypeNames()
FeatureType
s.
null
public Collection<FeatureType> getFeatureTypes()
FeatureType
s.
null
public FeatureType lookupFeatureType(QName ftName)
FeatureType
with the given qualified name (in a namespace-tolerant manner).
This method is tolerant to improve interoperability with clients (especially WFS 1.0.0) that only provide the local name or the prefixed name without a namespace binding.
ftName
- feature type to look up, must not be null
null
if no such feature type is servedpublic FeatureStore getStore(QName ftName)
FeatureStore
instance which is responsible for the specified feature type.
ftName
- name of the FeatureType
FeatureStore
or null
if no such store exists, i.e. the specified
feature type is not servedpublic Map<String,String> getPrefixToNs()
public Map<String,String> getTargetNsToPrefix()
public FeatureStore[] getStores()
FeatureStore
instances.
public void addStore(FeatureStore fs)
FeatureStore
to the WFS.
fs
- store to be registeredpublic void removeStore(FeatureStore fs)
FeatureStore
from the WFS.
fs
- store to be registered
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |