public static class ValidatorTagCheckerRulesPreference.RulePrefHelper extends SourceEditor.SourcePrefHelper
| Modifier and Type | Field and Description |
|---|---|
static ValidatorTagCheckerRulesPreference.RulePrefHelper |
INSTANCE
The unique instance.
|
| Constructor and Description |
|---|
RulePrefHelper()
Constructs a new
PresetPrefHelper. |
| Modifier and Type | Method and Description |
|---|---|
private static void |
addDefault(List<SourceEditor.ExtendedSourceEntry> defaults,
String filename,
String title,
String description) |
SourceEntry |
deserialize(Map<String,String> s) |
Collection<SourceEditor.ExtendedSourceEntry> |
getDefault()
Returns the default sources provided by JOSM core.
|
Map<String,String> |
serialize(SourceEntry entry) |
get, getActiveUrls, putpublic static final ValidatorTagCheckerRulesPreference.RulePrefHelper INSTANCE
public RulePrefHelper()
PresetPrefHelper.public Collection<SourceEditor.ExtendedSourceEntry> getDefault()
SourceEditor.SourcePrefHelpergetDefault in class SourceEditor.SourcePrefHelperprivate static void addDefault(List<SourceEditor.ExtendedSourceEntry> defaults, String filename, String title, String description)
public Map<String,String> serialize(SourceEntry entry)
serialize in class SourceEditor.SourcePrefHelperpublic SourceEntry deserialize(Map<String,String> s)
deserialize in class SourceEditor.SourcePrefHelper