org.n52.connectors.core
Class FeatureConnector
java.lang.Object
org.n52.connectors.core.AbstractConnector
org.n52.connectors.core.FeatureConnector
- All Implemented Interfaces:
- Connector
public abstract class FeatureConnector
- extends AbstractConnector
Base implementation of access to features. Most connectors that give access
to features only need to define a datastore; this connector provides access
to the datastore. For more information about this interface see
www.geotools.org.
- Author:
- martin schouwenburg
Method Summary |
java.lang.Object |
getImplementingObject(ConnectorRequest request)
Returns an object that supports the desired functionality or gives
(indirectly)access to the desired functionality. |
abstract org.geotools.metadata.iso.MetadataEntity |
getMetadata(java.lang.String s)
|
abstract boolean |
isSupported(ConnectorRequest request)
Checks if a connector supports a service provider that fullfills the
conditions set in the request. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureConnector
public FeatureConnector()
getMetadata
public abstract org.geotools.metadata.iso.MetadataEntity getMetadata(java.lang.String s)
- Specified by:
getMetadata
in interface Connector
- Specified by:
getMetadata
in class AbstractConnector
- Parameters:
s
- a metadata identifier based on ISO 19115. see..
- Returns:
- returns a metadataentity based on geotools (ISO 19115)
isSupported
public abstract boolean isSupported(ConnectorRequest request)
- Description copied from interface:
Connector
- Checks if a connector supports a service provider that fullfills the
conditions set in the request.
- Specified by:
isSupported
in interface Connector
- Specified by:
isSupported
in class AbstractConnector
- Parameters:
request
- contains all information that is needed to find a suitable
connector
- Returns:
- true if the information in the request matches with the
properties of this connector
getImplementingObject
public java.lang.Object getImplementingObject(ConnectorRequest request)
- Description copied from interface:
Connector
- Returns an object that supports the desired functionality or gives
(indirectly)access to the desired functionality.
- Specified by:
getImplementingObject
in interface Connector
- Overrides:
getImplementingObject
in class AbstractConnector
- Returns: