public interface EditingServiceInfo
Editing service represents the available read-only information about a
service. This information is composed by type (creates geometries or not),
mouse icon, list of parameters, supported geometries, description, name,
information of parameters, and compatibility with GeometryType
.
Modifier and Type | Method and Description |
---|---|
boolean |
createsNewGeometries()
Returns if service creates new geometries.
|
String |
getDescription()
Gets description of service.
|
Image |
getMouseIcon()
Get mouse icon associated to service.
|
String |
getName()
Gets name of service.
|
EditingServiceParameter |
getParameterInfo(String name)
Gets read only information about a parameter of this service.
|
List<EditingServiceParameter> |
getParameters()
Gets a
List with all parameters of service. |
int[] |
getSupportedPrimitiveGeometryTypes()
Gets supported primitive geometry types of service.
|
boolean |
isCompatibleWith(GeometryType geoType)
Returns if service is compatible with the geometry type received as
parameter.
|
boolean createsNewGeometries()
Image getMouseIcon()
List<EditingServiceParameter> getParameters()
List
with all parameters of service. Each parameter
has name, description and types. See EditingServiceParameter
.EditingServiceParameter
objects.int[] getSupportedPrimitiveGeometryTypes()
Geometry.TYPES
.String getDescription()
String getName()
EditingServiceParameter getParameterInfo(String name)
EditingServiceParameter
.name
- Name of parameter.EditingServiceParameter
object of parameter.boolean isCompatibleWith(GeometryType geoType) throws ServiceInformationException
geotype
- see GeometryType
ServiceInformationException