Package org.openstreetmap.josm.actions
Class MapRectifierWMSmenuAction.RectifierService
- java.lang.Object
-
- org.openstreetmap.josm.actions.MapRectifierWMSmenuAction.RectifierService
-
- Enclosing class:
- MapRectifierWMSmenuAction
public static class MapRectifierWMSmenuAction.RectifierService extends java.lang.Object
Class that bundles all required information of a rectifier service
-
-
Constructor Summary
Constructors Constructor Description RectifierService(java.lang.String name, java.lang.String url, java.lang.String wmsUrl, java.lang.String urlRegEx, java.lang.String idValidator)
Constructs a newRectifierService
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private boolean
isSelected()
-
-
-
Constructor Detail
-
RectifierService
public RectifierService(java.lang.String name, java.lang.String url, java.lang.String wmsUrl, java.lang.String urlRegEx, java.lang.String idValidator)
Constructs a newRectifierService
.- Parameters:
name
- Name of the rectifing serviceurl
- URL to the service where users can register, upload, etc.wmsUrl
- URL to the WMS server where JOSM will grab the images. Insert __s__ where the ID should be placedurlRegEx
- a regular expression that determines if a given URL is one of the service and returns the WMS id if soidValidator
- regular expression that checks if a given ID is syntactically valid
-
-
Method Detail
-
isSelected
private boolean isSelected()
-
-