public class NamespaceConfig
extends java.util.HashMap<java.lang.String,com.supermap.services.wfs.DatasourceNamespaceConfig>
Namespace configuration class.
Constructor and Description |
---|
NamespaceConfig() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
decodeFeatureTypeName(javax.xml.namespace.QName featureTypeName)
Retrieve the datasource name and dataset name from the feature type name.
|
java.lang.String |
getBaseNamespaceURL()
Get the root URI of the namespace.
|
javax.xml.namespace.QName |
getFeatureTypeName(java.lang.String datasourceName, java.lang.String datasetName)
Get the feature type name according to the datasource and dataset name.
|
void |
init(java.util.List<FeatureType> featureTypeList)
Initialize the feature type list.
|
void |
setBaseNamespaceURL(java.lang.String baseNamespaceURL)
Set the root URI of the namespace.
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
public void setBaseNamespaceURL(java.lang.String baseNamespaceURL)
Set the root URI of the namespace.
baseNamespaceURL
- the root URI of the namespace.public java.lang.String getBaseNamespaceURL()
Get the root URI of the namespace.
public void init(java.util.List<FeatureType> featureTypeList)
Initialize the feature type list.
featureTypeList
- the feature type list.public javax.xml.namespace.QName getFeatureTypeName(java.lang.String datasourceName, java.lang.String datasetName)
Get the feature type name according to the datasource and dataset name.
datasourceName
- the name of the datasource.datasetName
- the dataset name.public java.lang.String[] decodeFeatureTypeName(javax.xml.namespace.QName featureTypeName)
Retrieve the datasource name and dataset name from the feature type name.
featureTypeName
- the feature type name.