public class ShapeFileFeatureService extends DocumentFeatureService<ShapeFeature,String>
AbstractFeatureService.FeatureRetrievalWorker, AbstractFeatureService.LayerInitWorker| Modifier and Type | Field and Description |
|---|---|
static Map<Integer,Icon> |
layerIcons |
protected List<DefaultQueryButtonAction> |
queryButtons |
static String |
SHAPE_FEATURELAYER_TYPE |
static List<DefaultQueryButtonAction> |
SQL_QUERY_BUTTONS |
documentSize, documentURI, GML_GEOMETRY_TYPE, maxSupportedFeatureCountbb, DEFAULT_TYPE, enabled, encoding, featureFactory, featureRetrievalWorker, featureServiceAttributes, initialized, initializedFromElement, layerInitWorker, layerPosition, layerProperties, maxFeatureCount, name, NONE, orderedFeatureServiceAttributes, pNode, 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 |
|---|---|
|
ShapeFileFeatureService(org.jdom.Element e)
Creates a new ShapeFileFeatureService object.
|
protected |
ShapeFileFeatureService(ShapeFileFeatureService sfs)
Creates a new ShapeFileFeatureService object.
|
|
ShapeFileFeatureService(String name,
URI documentURI,
long documentSize,
List<FeatureServiceAttribute> attributes)
Creates a new ShapeFileFeatureService object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
protected FeatureFactory |
createFeatureFactory()
Creates an instance of a service specific FeatureFactory implementation.
|
protected LayerProperties |
createLayerProperties()
Creates an instance of a service specific LayerProperties implementation.
|
protected String |
getFeatureLayerType()
DOCUMENT ME!
|
String |
getGeometryType()
Determines the geometry type of the features of this service.
|
Icon |
getLayerIcon(int type)
DOCUMENT ME!
|
String |
getQuery()
Get the value of query.
|
List<DefaultQueryButtonAction> |
getQueryButtons()
The query buttons, which should be used by the query search.
|
protected void |
initConcreteInstance()
This operation is invoked after the default initialisation.
|
void |
initFromElement(org.jdom.Element element)
DOCUMENT ME!
|
boolean |
isEditable()
DOCUMENT ME!
|
boolean |
isErrorInGeometryFound()
DOCUMENT ME!
|
boolean |
isFileNotFound()
DOCUMENT ME!
|
boolean |
isNoGeometryRecognised()
DOCUMENT ME!
|
void |
setCrs(Crs crs)
DOCUMENT ME!
|
void |
setDocumentURI(URI documentURI)
DOCUMENT ME!
|
void |
setLayerProperties(LayerProperties layerProperties,
boolean refreshFeatures)
Sets the new layer properties of the service and.
|
void |
setQuery(String query)
Set the value of query.
|
void |
setSLDInputStream(String inputStream)
DOCUMENT ME!
|
org.jdom.Element |
toElement()
DOCUMENT ME!
|
getDocumentSize, getDocumentURIcanBeDisabled, cancel, decorateLater, decoratePropertyName, decoratePropertyValue, decorateQuery, getBoundingBox, getCalculatedAttributes, getEncoding, getFeatureCount, getFeatureCount, getFeatureFactory, getFeatureServiceAttributes, getId, getInitElement, getInitialisationError, getLayerPosition, getLayerProperties, getLegend, getLegend, getLegends, getLegendSize, getLegendSize, getLegendSizes, getMaxFeatureCount, getMaxFeaturesPerPage, getName, getOrderedFeatureServiceAttributes, getPNode, getSLDDefiniton, getTranslucency, init, initAndWait, isEnabled, isInitialized, isSelectable, isVisible, isVisibleInBoundingBox, parseSLD, refresh, refreshFeatures, retrieve, retrieveFeatures, retrieveFeatures, setBoundingBox, setEnabled, setEncoding, setFeatureServiceAttributes, setFeatureServiceAttributes, setInitElement, setInitialisationError, setInitialized, setLayerPosition, setLayerProperties, setMaxFeatureCount, setName, setOrderedFeatureServiceAttributes, setPNode, setSelectable, setSize, 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 SHAPE_FEATURELAYER_TYPE
public static final List<DefaultQueryButtonAction> SQL_QUERY_BUTTONS
protected List<DefaultQueryButtonAction> queryButtons
public ShapeFileFeatureService(org.jdom.Element e)
throws Exception
e - DOCUMENT ME!Exception - DOCUMENT ME!public ShapeFileFeatureService(String name, URI documentURI, long documentSize, List<FeatureServiceAttribute> attributes) throws Exception
name - DOCUMENT ME!documentURI - DOCUMENT ME!documentSize - DOCUMENT ME!attributes - DOCUMENT ME!Exception - DOCUMENT ME!protected ShapeFileFeatureService(ShapeFileFeatureService sfs)
sfs - DOCUMENT ME!public Icon getLayerIcon(int type)
AbstractFeatureServicegetLayerIcon in class AbstractFeatureService<ShapeFeature,String>type - DOCUMENT ME!protected LayerProperties createLayerProperties()
AbstractFeatureServicecreateLayerProperties in class AbstractFeatureService<ShapeFeature,String>protected FeatureFactory createFeatureFactory() throws Exception
AbstractFeatureServicecreateFeatureFactory in class AbstractFeatureService<ShapeFeature,String>Exception - id the costruction failedpublic String getQuery()
AbstractFeatureServicegetQuery in class AbstractFeatureService<ShapeFeature,String>public void setQuery(String query)
AbstractFeatureServicesetQuery in class AbstractFeatureService<ShapeFeature,String>query - new value of queryprotected void initConcreteInstance()
throws Exception
AbstractFeatureServiceinitConcreteInstance in class AbstractFeatureService<ShapeFeature,String>Exception - if the initialisation failspublic void setDocumentURI(URI documentURI)
DocumentFeatureServicesetDocumentURI in class DocumentFeatureService<ShapeFeature,String>documentURI - DOCUMENT ME!protected String getFeatureLayerType()
AbstractFeatureServicegetFeatureLayerType in class AbstractFeatureService<ShapeFeature,String>public Object clone()
clone in class AbstractRetrievalServicepublic boolean isNoGeometryRecognised()
public boolean isErrorInGeometryFound()
public boolean isFileNotFound()
public void setCrs(Crs crs)
crs - DOCUMENT ME!public void setLayerProperties(LayerProperties layerProperties, boolean refreshFeatures)
AbstractFeatureServicesetLayerProperties in class AbstractFeatureService<ShapeFeature,String>layerProperties - DOCUMENT ME!refreshFeatures - DOCUMENT ME!public List<DefaultQueryButtonAction> getQueryButtons()
getQueryButtons in class AbstractFeatureService<ShapeFeature,String>public void setSLDInputStream(String inputStream)
SLDStyledLayersetSLDInputStream in interface SLDStyledLayersetSLDInputStream in class AbstractFeatureService<ShapeFeature,String>inputStream - DOCUMENT ME!public boolean isEditable()
AbstractFeatureServiceisEditable in class AbstractFeatureService<ShapeFeature,String>public String getGeometryType()
AbstractFeatureServicegetGeometryType in class AbstractFeatureService<ShapeFeature,String>AbstractFeatureService.UNKNOWN, if the features can have different geometriespublic void initFromElement(org.jdom.Element element)
throws Exception
DocumentFeatureServiceinitFromElement in interface ConvertableToXMLinitFromElement in class DocumentFeatureService<ShapeFeature,String>element - DOCUMENT ME!Exception - DOCUMENT ME!public org.jdom.Element toElement()
DocumentFeatureServicetoElement in interface ConvertableToXMLtoElement in class DocumentFeatureService<ShapeFeature,String>Copyright © 2012–2026 cismet GmbH. All rights reserved.