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 void |
addDefault(java.util.List<SourceEditor.ExtendedSourceEntry> defaults,
java.lang.String filename,
java.lang.String title,
java.lang.String description) |
SourceEntry |
deserialize(java.util.Map<java.lang.String,java.lang.String> s) |
java.util.Collection<SourceEditor.ExtendedSourceEntry> |
getDefault()
Returns the default sources provided by JOSM core.
|
java.util.Map<java.lang.String,java.lang.String> |
serialize(SourceEntry entry) |
get, getActiveUrls, putpublic static final ValidatorTagCheckerRulesPreference.RulePrefHelper INSTANCE
public RulePrefHelper()
PresetPrefHelper.public java.util.Collection<SourceEditor.ExtendedSourceEntry> getDefault()
SourceEditor.SourcePrefHelpergetDefault in class SourceEditor.SourcePrefHelperprivate void addDefault(java.util.List<SourceEditor.ExtendedSourceEntry> defaults, java.lang.String filename, java.lang.String title, java.lang.String description)
public java.util.Map<java.lang.String,java.lang.String> serialize(SourceEntry entry)
serialize in class SourceEditor.SourcePrefHelperpublic SourceEntry deserialize(java.util.Map<java.lang.String,java.lang.String> s)
deserialize in class SourceEditor.SourcePrefHelper