|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.services.wfs.WFService
public class WFService
Manages the FeatureStore
instances for the WFSController
.
WFSController
Constructor Summary | |
---|---|
WFService()
|
Method Summary | |
---|---|
void |
addStore(org.deegree.feature.persistence.FeatureStore fs)
Registers a new FeatureStore to the WFS. |
javax.xml.namespace.QName[] |
getFeatureTypeNames()
Returns the qualified names of all served FeatureType s. |
java.util.Collection<org.deegree.feature.types.FeatureType> |
getFeatureTypes()
Returns all FeatureType s. |
java.util.Map<java.lang.String,java.lang.String> |
getPrefixToNs()
Get the prefix-to-namespace map that is constructed from the NamespaceHints in the configuration |
org.deegree.feature.persistence.FeatureStore |
getStore(javax.xml.namespace.QName ftName)
Returns the FeatureStore instance which is responsible for the specified feature type. |
org.deegree.feature.persistence.FeatureStore[] |
getStores()
Returns all registered FeatureStore instances. |
java.util.Map<java.lang.String,java.lang.String> |
getTargetNsToPrefix()
Get the namespace-to-prefix bindings for the namespaces of the application schemas. |
void |
init(DeegreeWFS sc,
java.lang.String baseURL)
|
org.deegree.feature.types.FeatureType |
lookupFeatureType(javax.xml.namespace.QName ftName)
Looks up the FeatureType with the given qualified name (in a namespace-tolerant manner). |
void |
removeStore(org.deegree.feature.persistence.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 WFService()
Method Detail |
---|
public void init(DeegreeWFS sc, java.lang.String baseURL) throws org.deegree.feature.persistence.FeatureStoreException
sc
- baseURL
-
org.deegree.feature.persistence.FeatureStoreException
public javax.xml.namespace.QName[] getFeatureTypeNames()
FeatureType
s.
null
public java.util.Collection<org.deegree.feature.types.FeatureType> getFeatureTypes()
FeatureType
s.
null
public org.deegree.feature.types.FeatureType lookupFeatureType(javax.xml.namespace.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 org.deegree.feature.persistence.FeatureStore getStore(javax.xml.namespace.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 java.util.Map<java.lang.String,java.lang.String> getPrefixToNs()
public java.util.Map<java.lang.String,java.lang.String> getTargetNsToPrefix()
public org.deegree.feature.persistence.FeatureStore[] getStores()
FeatureStore
instances.
public void addStore(org.deegree.feature.persistence.FeatureStore fs)
FeatureStore
to the WFS.
fs
- store to be registeredpublic void removeStore(org.deegree.feature.persistence.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 |