public static class MapRectifierWMSmenuAction.RectifierService extends Object
| Modifier and Type | Field and Description |
|---|---|
JRadioButton |
btn |
private Pattern |
idValidator |
private String |
name |
private String |
url |
private Pattern |
urlRegEx |
private String |
wmsUrl |
| Constructor and Description |
|---|
RectifierService(String name,
String url,
String wmsUrl,
String urlRegEx,
String idValidator) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isSelected() |
private final Pattern idValidator
public JRadioButton btn
public RectifierService(String name, String url, String wmsUrl, String urlRegEx, String idValidator)
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 validpublic boolean isSelected()