org.openstreetmap.josm.actions
Class Map_Rectifier_WMSmenuAction.RectifierService
java.lang.Object
org.openstreetmap.josm.actions.Map_Rectifier_WMSmenuAction.RectifierService
- Enclosing class:
- Map_Rectifier_WMSmenuAction
public static class Map_Rectifier_WMSmenuAction.RectifierService
- extends java.lang.Object
Class that bundles all required information of a rectifier service
Field Summary |
javax.swing.JRadioButton |
btn
|
private java.util.regex.Pattern |
idValidator
|
private java.lang.String |
name
|
private java.lang.String |
url
|
private java.util.regex.Pattern |
urlRegEx
|
private java.lang.String |
wmsUrl
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
private final java.lang.String name
url
private final java.lang.String url
wmsUrl
private final java.lang.String wmsUrl
urlRegEx
private final java.util.regex.Pattern urlRegEx
idValidator
private final java.util.regex.Pattern idValidator
btn
public javax.swing.JRadioButton btn
Map_Rectifier_WMSmenuAction.RectifierService
public Map_Rectifier_WMSmenuAction.RectifierService(java.lang.String name,
java.lang.String url,
java.lang.String wmsUrl,
java.lang.String urlRegEx,
java.lang.String idValidator)
- 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
isSelected
public boolean isSelected()
JOSM