public final class WebFeatureService extends AbstractFeatureService<WFSFeature,String> implements LayerInfoProvider
AbstractFeatureService.FeatureRetrievalWorker, AbstractFeatureService.LayerInitWorker| Modifier and Type | Field and Description |
|---|---|
static HashMap<Integer,Icon> |
layerIcons |
static String |
WFS_FEATURELAYER_TYPE |
bb, DEFAULT_TYPE, enabled, encoding, featureFactory, featureRetrievalWorker, featureServiceAttributes, initialized, initializedFromElement, layerInitWorker, layerPosition, layerProperties, maxFeatureCount, name, NONE, orderedFeatureServiceAttributes, pNode, queryButtons, SQL_QUERY_BUTTONS, translucency, UNKNOWN, visibleDEBUG, errorObject, listeners, progress, PROGRESS_PROPERTY, PROGRESS_REFRESH, propertyChangeSupport, refreshNeededLAYER_DISABLED_INVISIBLE, LAYER_DISABLED_VISIBLE, LAYER_ENABLED_INVISIBLE, LAYER_ENABLED_VISIBLETYPE_ATTRIBUTE| Modifier | Constructor and Description |
|---|---|
|
WebFeatureService(org.jdom.Element e)
Creates a new WebFeatureService object.
|
|
WebFeatureService(String name,
String host,
org.jdom.Element query,
List<FeatureServiceAttribute> attributes,
FeatureType feature)
Create a new uninitialised AbstractFeatureService except for the attributes provided.
|
|
WebFeatureService(String name,
String host,
org.jdom.Element query,
List<FeatureServiceAttribute> attributes,
FeatureType feature,
boolean reverseAxisOrder)
Create a new uninitialised AbstractFeatureService except for the attributes provided.
|
protected |
WebFeatureService(WebFeatureService wfs)
Protected Constructor that clones (shallow) the delivered WebFeatureService.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
This method creates an one-to-one hard copy of the SimpleWebFeatureService.
|
protected FeatureFactory |
createFeatureFactory()
Creates an instance of a service specific FeatureFactory implementation.
|
protected LayerProperties |
createLayerProperties()
Creates an instance of a service specific LayerProperties implementation.
|
String |
decoratePropertyName(String name)
DOCUMENT ME!
|
String |
decoratePropertyValue(String column,
String value)
DOCUMENT ME!
|
Crs |
getCrs()
DOCUMENT ME!
|
FeatureType |
getFeature()
DOCUMENT ME!
|
protected String |
getFeatureLayerType()
DOCUMENT ME!
|
String |
getHostname()
Delivers the host-string of the FeatureService.
|
Icon |
getLayerIcon(int type)
DOCUMENT ME!
|
de.cismet.commons.wms.capabilities.Layer |
getLayerInformation()
DOCUMENT ME!
|
String |
getLayerURI()
DOCUMENT ME!
|
String |
getQuery()
Get the value of query.
|
org.jdom.Element |
getQueryElement()
DOCUMENT ME!
|
String |
getServerURI()
DOCUMENT ME!
|
String |
getVersion()
DOCUMENT ME!
|
protected void |
initConcreteInstance()
This operation is invoked after the default initialisation.
|
void |
initFromElement(org.jdom.Element element)
DOCUMENT ME!
|
void |
initFromElement(org.jdom.Element element,
boolean loadCapDoc)
DOCUMENT ME!
|
boolean |
isLayerQuerySelected()
DOCUMENT ME!
|
boolean |
isQueryable()
DOCUMENT ME!
|
void |
removeAllListeners()
DOCUMENT ME!
|
void |
setCrs(Crs crs)
DOCUMENT ME!
|
void |
setFeature(FeatureType feature)
DOCUMENT ME!
|
protected void |
setHostname(String hostname)
Setter for the host-string of the FeatureService.
|
void |
setLayerPropertiesWithoutUpdate(LayerProperties layerProperties)
Sets the Layer properties but does not refresh the cached features.
|
void |
setLayerQuerySelected(boolean selected)
DOCUMENT ME!
|
void |
setMaxFeatureCount(int maxFeatureCount)
DOCUMENT ME!
|
void |
setQuery(String wfsQueryString)
Set the value of query.
|
void |
setQueryElement(org.jdom.Element wfsQuery)
Sets a new wfsQuery Element and overwites the string query.
|
org.jdom.Element |
toElement()
DOCUMENT ME!
|
canBeDisabled, cancel, decorateLater, decorateQuery, getBoundingBox, getCalculatedAttributes, getEncoding, getFeatureCount, getFeatureCount, getFeatureFactory, getFeatureServiceAttributes, getGeometryType, getId, getInitElement, getInitialisationError, getLayerPosition, getLayerProperties, getLegend, getLegend, getLegends, getLegendSize, getLegendSize, getLegendSizes, getMaxFeatureCount, getMaxFeaturesPerPage, getName, getOrderedFeatureServiceAttributes, getPNode, getQueryButtons, getSLDDefiniton, getTranslucency, init, initAndWait, isEditable, isEnabled, isInitialized, isSelectable, isVisible, isVisibleInBoundingBox, parseSLD, refresh, refreshFeatures, retrieve, retrieveFeatures, retrieveFeatures, setBoundingBox, setEnabled, setEncoding, setFeatureServiceAttributes, setFeatureServiceAttributes, setInitElement, setInitialisationError, setInitialized, setLayerPosition, setLayerProperties, setLayerProperties, setName, setOrderedFeatureServiceAttributes, setPNode, setSelectable, setSize, setSLDInputStream, setTranslucency, setVisible, toStringaddPropertyChangeListener, addRetrievalListener, cloneWithoutRetrievalListeners, fireRetrievalAborted, fireRetrievalComplete, fireRetrievalError, fireRetrievalProgress, fireRetrievalStarted, getErrorObject, getListeners, getProgress, hasErrors, isRefreshNeeded, removePropertyChangeListener, removeRetrievalListener, setErrorObject, setProgress, setRefreshNeededequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetErrorObject, hasErrors, setErrorObjectaddPropertyChangeListener, addRetrievalListener, getProgress, isRefreshNeeded, removePropertyChangeListener, removeRetrievalListener, setProgress, setRefreshNeededpublic static final String WFS_FEATURELAYER_TYPE
public WebFeatureService(org.jdom.Element e)
throws Exception
e - DOCUMENT ME!Exception - DOCUMENT ME!public WebFeatureService(String name, String host, org.jdom.Element query, List<FeatureServiceAttribute> attributes, FeatureType feature) throws Exception
name - the name of this FeatureServicehost - hostname of the WFS serverquery - the request which will be send to the WFSattributes - featureServiceAttributes vector with all FeatureServiceAttributes of the FeatureServicefeature - version DOCUMENT ME!Exception - if something went wrongpublic WebFeatureService(String name, String host, org.jdom.Element query, List<FeatureServiceAttribute> attributes, FeatureType feature, boolean reverseAxisOrder) throws Exception
name - the name of this FeatureServicehost - hostname of the WFS serverquery - the request which will be send to the WFSattributes - featureServiceAttributes vector with all FeatureServiceAttributes of the
FeatureServicefeature - version DOCUMENT ME!reverseAxisOrder - if true, the axis order of the crs will be changedException - if something went wrongprotected WebFeatureService(WebFeatureService wfs)
wfs - FeatureService that should be clonedprotected void initConcreteInstance()
throws Exception
AbstractFeatureServiceinitConcreteInstance in class AbstractFeatureService<WFSFeature,String>Exception - if the initialisation failspublic void setMaxFeatureCount(int maxFeatureCount)
AbstractFeatureServicesetMaxFeatureCount in class AbstractFeatureService<WFSFeature,String>maxFeatureCount - DOCUMENT ME!public org.jdom.Element toElement()
AbstractFeatureServicetoElement in interface ConvertableToXMLtoElement in class AbstractFeatureService<WFSFeature,String>public void initFromElement(org.jdom.Element element)
throws Exception
AbstractFeatureServiceinitFromElement in interface ConvertableToXMLinitFromElement in class AbstractFeatureService<WFSFeature,String>element - DOCUMENT ME!Exception - DOCUMENT ME!public void initFromElement(org.jdom.Element element,
boolean loadCapDoc)
throws Exception
element - DOCUMENT ME!loadCapDoc - DOCUMENT ME!Exception - DOCUMENT ME!public Object clone()
clone in class AbstractRetrievalServicepublic void removeAllListeners()
public String getHostname()
protected void setHostname(String hostname)
hostname - hostname to setpublic String getQuery()
AbstractFeatureServicegetQuery in class AbstractFeatureService<WFSFeature,String>public void setQuery(String wfsQueryString)
AbstractFeatureServicesetQuery in class AbstractFeatureService<WFSFeature,String>wfsQueryString - new value of querypublic org.jdom.Element getQueryElement()
public void setQueryElement(org.jdom.Element wfsQuery)
wfsQuery - DOCUMENT ME!protected String getFeatureLayerType()
AbstractFeatureServicegetFeatureLayerType in class AbstractFeatureService<WFSFeature,String>public Icon getLayerIcon(int type)
AbstractFeatureServicegetLayerIcon in class AbstractFeatureService<WFSFeature,String>type - DOCUMENT ME!protected LayerProperties createLayerProperties()
AbstractFeatureServicecreateLayerProperties in class AbstractFeatureService<WFSFeature,String>protected FeatureFactory createFeatureFactory() throws Exception
AbstractFeatureServicecreateFeatureFactory in class AbstractFeatureService<WFSFeature,String>Exception - id the costruction failedpublic void setLayerPropertiesWithoutUpdate(LayerProperties layerProperties)
layerProperties - DOCUMENT ME!public String getVersion()
public String getLayerURI()
LayerInfoProvidergetLayerURI in interface LayerInfoProviderpublic String getServerURI()
LayerInfoProvidergetServerURI in interface LayerInfoProviderpublic boolean isLayerQuerySelected()
LayerInfoProviderisLayerQuerySelected in interface LayerInfoProviderpublic void setLayerQuerySelected(boolean selected)
LayerInfoProvidersetLayerQuerySelected in interface LayerInfoProviderselected - DOCUMENT ME!public boolean isQueryable()
LayerInfoProviderisQueryable in interface LayerInfoProviderpublic de.cismet.commons.wms.capabilities.Layer getLayerInformation()
LayerInfoProvidergetLayerInformation in interface LayerInfoProviderpublic FeatureType getFeature()
public void setFeature(FeatureType feature)
feature - the feature to setpublic Crs getCrs()
public void setCrs(Crs crs)
crs - the crs to setpublic String decoratePropertyName(String name)
AbstractFeatureServicedecoratePropertyName in class AbstractFeatureService<WFSFeature,String>name - DOCUMENT ME!public String decoratePropertyValue(String column, String value)
AbstractFeatureServicedecoratePropertyValue in class AbstractFeatureService<WFSFeature,String>column - DOCUMENT ME!value - DOCUMENT ME!Copyright © 2012–2026 cismet GmbH. All rights reserved.