Package | Description |
---|---|
org.openstreetmap.josm.corrector |
Provides the classes for JOSM
tag correctors . |
org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives :
Node ,
Way ,
Relation
Users
Tags
Changesets
Utilities classes
|
org.openstreetmap.josm.data.osm.history |
Provides the classes for OSM primitives
history (edition revisions). |
org.openstreetmap.josm.data.osm.search |
Provides classes allowing to search OSM primitives in a dataset using textual queries.
|
org.openstreetmap.josm.data.validation.tests |
Provides the classes for JOSM data validation tests.
|
org.openstreetmap.josm.gui.datatransfer.data |
Provides the classes for defining the serializable data transferred using cut/copy/paste operations.
|
org.openstreetmap.josm.gui.dialogs.properties |
Toggle dialog allowing to display/edit tags and relation memberships of currently selected OSM objects.
|
org.openstreetmap.josm.gui.mappaint.mapcss |
Drawing system based on MapCSS map styles.
|
org.openstreetmap.josm.gui.tagging |
Provides classes for handling edition of OSM tags: tag tables, tag editors.
|
org.openstreetmap.josm.io |
Provides the classes for JOSM input/output support.
|
Modifier and Type | Method and Description |
---|---|
static TagCollection |
ReverseWayNoTagCorrector.getDirectionalTags(Tagged way)
Replies the tags that imply a semantic meaning from
way direction and cannot be changed. |
(package private) static java.util.List<TagCorrection> |
ReverseWayTagCorrector.getTagCorrections(Tagged way) |
static boolean |
ReverseWayNoTagCorrector.isReversible(Tagged way)
Tests whether way can be reversed without semantic change.
|
Modifier and Type | Interface and Description |
---|---|
interface |
INode
|
interface |
IPrimitive
IPrimitive captures the common functions of
OsmPrimitive and PrimitiveData . |
interface |
IRelation
IRelation captures the common functions of
Relation and RelationData . |
interface |
IWay
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractPrimitive
Abstract class to represent common features of the datatypes primitives.
|
class |
Changeset
Represents a single changeset in JOSM.
|
class |
Node
One node data, consisting of one world coordinate waypoint.
|
class |
NodeData
The data on a single node (tags and position) that is stored in the database
|
class |
OsmPrimitive
|
class |
PrimitiveData
This class can be used to save properties of OsmPrimitive.
|
class |
Relation
A relation, having a set of tags and any number (0...n) of members.
|
class |
RelationData
Relation data.
|
class |
Tag
Tag represents an immutable key/value-pair.
|
class |
Way
One full way, consisting of a list of way
nodes . |
class |
WayData
The data (tags and node ids) that is stored for a way in the database
|
Modifier and Type | Method and Description |
---|---|
void |
TagCollection.applyTo(Tagged primitive)
Applies this tag collection to an
OsmPrimitive . |
static TagCollection |
TagCollection.from(Tagged primitive)
Creates a tag collection from the tags managed by a specific
OsmPrimitive . |
void |
TagCollection.replaceTagsOf(Tagged primitive)
Replaces the tags of an
OsmPrimitive by the tags in this collection . |
void |
KeyValueVisitor.visitKeyValue(Tagged primitive,
java.lang.String key,
java.lang.String value)
This method gets called for every tag received.
|
Modifier and Type | Method and Description |
---|---|
void |
TagCollection.applyTo(java.util.Collection<? extends Tagged> primitives)
Applies this tag collection to a collection of
OsmPrimitive s. |
static TagCollection |
TagCollection.commonToAllPrimitives(java.util.Collection<? extends Tagged> primitives)
Replies a tag collection with the tags which are common to all primitives in in
primitives . |
void |
TagCollection.replaceTagsOf(java.util.Collection<? extends Tagged> primitives)
Replaces the tags of a collection of
OsmPrimitive s by the tags in this collection. |
static TagCollection |
TagCollection.unionOfAllPrimitives(java.util.Collection<? extends Tagged> primitives)
Creates a tag collection from the union of the tags managed by
a collection of primitives.
|
Modifier and Type | Class and Description |
---|---|
class |
HistoryNode
Represents an immutable OSM node in the context of a historical view on OSM data.
|
class |
HistoryOsmPrimitive
Represents an immutable OSM primitive in the context of a historical view on OSM data.
|
class |
HistoryRelation
Represents an immutable OSM relation in the context of a historical view on OSM data.
|
class |
HistoryWay
Represents an immutable OSM way in the context of a historical view on OSM data.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SearchCompiler.Match.match(Tagged tagged)
Tests whether the tagged object matches this criterion.
|
abstract boolean |
SearchCompiler.TaggedMatch.match(Tagged tags) |
boolean |
SearchCompiler.Always.match(Tagged osm) |
boolean |
SearchCompiler.Never.match(Tagged osm) |
boolean |
SearchCompiler.Not.match(Tagged osm) |
boolean |
SearchCompiler.BooleanMatch.match(Tagged osm) |
boolean |
SearchCompiler.And.match(Tagged osm) |
boolean |
SearchCompiler.Or.match(Tagged osm) |
boolean |
SearchCompiler.Xor.match(Tagged osm) |
boolean |
SearchCompiler.KeyValue.match(Tagged osm) |
boolean |
SearchCompiler.ValueComparison.match(Tagged osm) |
boolean |
SearchCompiler.ExactKeyValue.match(Tagged osm) |
boolean |
SearchCompiler.Any.match(Tagged osm) |
Modifier and Type | Method and Description |
---|---|
private static OsmPrimitive[] |
UntaggedNode.castPrim(Tagged n) |
void |
UntaggedNode.visitKeyValue(Tagged n,
java.lang.String key,
java.lang.String value) |
Constructor and Description |
---|
TagTransferData(java.util.Collection<? extends Tagged> tagged)
Creates a new
TagTransferData object for the given objects. |
Modifier and Type | Field and Description |
---|---|
private java.util.function.Supplier<java.util.Collection<? extends Tagged>> |
AbstractCopyAction.objectSupplier |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<java.lang.String> |
CopyKeyValueAction.getString(Tagged p,
java.lang.String key) |
protected abstract java.util.Collection<java.lang.String> |
AbstractCopyAction.getString(Tagged p,
java.lang.String key) |
protected java.util.Collection<java.lang.String> |
CopyValueAction.getString(Tagged p,
java.lang.String key) |
protected java.util.Collection<java.lang.String> |
CopyAllKeyValueAction.getString(Tagged p,
java.lang.String key) |
Constructor and Description |
---|
AbstractCopyAction(javax.swing.JTable tagTable,
java.util.function.Function<java.lang.Integer,java.lang.String> keySupplier,
java.util.function.Supplier<java.util.Collection<? extends Tagged>> objectSupplier)
Constructs a new
AbstractCopyAction . |
CopyAllKeyValueAction(javax.swing.JTable tagTable,
java.util.function.Function<java.lang.Integer,java.lang.String> keyFn,
java.util.function.Supplier<java.util.Collection<? extends Tagged>> objectSp)
Constructs a new
CopyAllKeyValueAction . |
CopyKeyValueAction(javax.swing.JTable tagTable,
java.util.function.Function<java.lang.Integer,java.lang.String> keyFn,
java.util.function.Supplier<java.util.Collection<? extends Tagged>> objectSp)
Constructs a new
CopyKeyValueAction . |
CopyValueAction(javax.swing.JTable tagTable,
java.util.function.Function<java.lang.Integer,java.lang.String> keyFn,
java.util.function.Supplier<java.util.Collection<? extends Tagged>> objectSp)
Constructs a new
CopyValueAction . |
Modifier and Type | Method and Description |
---|---|
void |
MapCSSStyleSource.MapCSSRuleIndex.RuleCandidatesIterator.visitKeyValue(Tagged p,
java.lang.String key,
java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
void |
TagEditorModel.applyToPrimitive(Tagged primitive)
applies the current state of the tag editor model to a primitive
|
void |
TagEditorModel.initFromPrimitive(Tagged primitive)
initializes the model with the tags of an OSM primitive
|
Modifier and Type | Method and Description |
---|---|
protected void |
OsmWriter.addTags(Tagged osm,
java.lang.String tagname,
boolean tagOpen) |
private void |
OsmReader.parseTag(Tagged t) |