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, put
public static final ValidatorTagCheckerRulesPreference.RulePrefHelper INSTANCE
public RulePrefHelper()
PresetPrefHelper
.public Collection<SourceEditor.ExtendedSourceEntry> getDefault()
SourceEditor.SourcePrefHelper
getDefault
in class SourceEditor.SourcePrefHelper
private static void addDefault(List<SourceEditor.ExtendedSourceEntry> defaults, String filename, String title, String description)
public Map<String,String> serialize(SourceEntry entry)
serialize
in class SourceEditor.SourcePrefHelper
public SourceEntry deserialize(Map<String,String> s)
deserialize
in class SourceEditor.SourcePrefHelper