Uses of Interface
org.openstreetmap.josm.data.osm.Tagged
-
Packages that use Tagged Package Description org.openstreetmap.josm.actions.corrector Provides the classes for JOSMtag correctors
.org.openstreetmap.josm.command Provides the classes for JOSM commands allowing to modify an OSM data set.org.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives
:Node
,Way
,Relation
Users
Tags
Changesets
Utilities classesorg.openstreetmap.josm.data.osm.history Provides the classes for OSM primitiveshistory
(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.data.vector 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.layer Provides classes for handling the different kinds of map layers.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.gui.tagging.presets Provides classes for handling tagging presets.org.openstreetmap.josm.io Provides the classes for JOSM input/output support. -
-
Uses of Tagged in org.openstreetmap.josm.actions.corrector
Methods in org.openstreetmap.josm.actions.corrector with parameters of type Tagged Modifier and Type Method Description static TagCollection
ReverseWayNoTagCorrector. getDirectionalTags(Tagged way)
Replies the tags that imply a semantic meaning fromway
direction and cannot be changed.(package private) static List<TagCorrection>
ReverseWayTagCorrector. getTagCorrections(Tagged way)
static boolean
ReverseWayNoTagCorrector. isReversible(Tagged way)
Tests whether way can be reversed without semantic change. -
Uses of Tagged in org.openstreetmap.josm.command
Methods in org.openstreetmap.josm.command with parameters of type Tagged Modifier and Type Method Description static Command
ChangePropertyCommand. build(OsmPrimitive source, Tagged target)
Calculate theChangePropertyCommand
that is needed to change the tags in source to be equal to those in target. -
Uses of Tagged in org.openstreetmap.josm.data.osm
Subinterfaces of Tagged in org.openstreetmap.josm.data.osm Modifier and Type Interface Description interface
INode
interface
IPrimitive
IPrimitive captures the common functions ofOsmPrimitive
andPrimitiveData
.interface
IRelation<M extends IRelationMember<?>>
IRelation captures the common functions ofRelation
andRelationData
.interface
IWay<N extends INode>
Classes in org.openstreetmap.josm.data.osm that implement Tagged Modifier and Type Class 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 databaseclass
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 waynodes
.class
WayData
The data (tags and node ids) that is stored for a way in the database.Methods in org.openstreetmap.josm.data.osm that return Tagged Modifier and Type Method Description static Tagged
Tagged. ofMap(Map<String,String> tags)
Returns a Tagged instance for the given tag mapstatic Tagged
Tagged. ofTags(Collection<Tag> tags)
Returns a Tagged instance for the given tag collectionMethods in org.openstreetmap.josm.data.osm with parameters of type Tagged Modifier and Type Method Description void
TagCollection. applyTo(Tagged primitive)
Applies this tag collection to anOsmPrimitive
.private static String
DefaultNameFormatter. formatAddress(Tagged osm)
static TagCollection
TagCollection. from(Tagged primitive)
Creates a tag collection from the tags managed by a specificOsmPrimitive
.void
TagCollection. replaceTagsOf(Tagged primitive)
Replaces the tags of anOsmPrimitive
by the tags in this collection .void
KeyValueVisitor. visitKeyValue(Tagged primitive, String key, String value)
This method gets called for every tag received.Method parameters in org.openstreetmap.josm.data.osm with type arguments of type Tagged Modifier and Type Method Description void
TagCollection. applyTo(Collection<? extends Tagged> primitives)
Applies this tag collection to a collection ofOsmPrimitive
s.static TagCollection
TagCollection. commonToAllPrimitives(Collection<? extends Tagged> primitives)
Replies a tag collection with the tags which are common to all primitives in inprimitives
.void
TagCollection. replaceTagsOf(Collection<? extends Tagged> primitives)
Replaces the tags of a collection ofOsmPrimitive
s by the tags in this collection.static TagCollection
TagCollection. unionOfAllPrimitives(Collection<? extends Tagged> primitives)
Creates a tag collection from the union of the tags managed by a collection of primitives. -
Uses of Tagged in org.openstreetmap.josm.data.osm.history
Classes in org.openstreetmap.josm.data.osm.history that implement Tagged Modifier and Type Class 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. -
Uses of Tagged in org.openstreetmap.josm.data.osm.search
Methods in org.openstreetmap.josm.data.osm.search with parameters of type Tagged Modifier and Type Method Description private String
SearchCompiler.KeyValue. getMv(Tagged osm)
boolean
SearchCompiler.Always. match(Tagged osm)
boolean
SearchCompiler.And. match(Tagged osm)
boolean
SearchCompiler.Any. match(Tagged osm)
boolean
SearchCompiler.BooleanMatch. match(Tagged osm)
boolean
SearchCompiler.ExactKeyValue. match(Tagged osm)
boolean
SearchCompiler.KeyValue. match(Tagged osm)
boolean
SearchCompiler.Match. match(Tagged tagged)
Tests whether the tagged object matches this criterion.boolean
SearchCompiler.Never. match(Tagged osm)
boolean
SearchCompiler.Not. match(Tagged osm)
boolean
SearchCompiler.Or. match(Tagged osm)
abstract boolean
SearchCompiler.TaggedMatch. match(Tagged tags)
boolean
SearchCompiler.ValueComparison. match(Tagged osm)
boolean
SearchCompiler.Xor. match(Tagged osm)
-
Uses of Tagged in org.openstreetmap.josm.data.validation.tests
Methods in org.openstreetmap.josm.data.validation.tests with parameters of type Tagged Modifier and Type Method Description private static OsmPrimitive[]
UntaggedNode. castPrim(Tagged n)
void
UntaggedNode. visitKeyValue(Tagged n, String key, String value)
-
Uses of Tagged in org.openstreetmap.josm.data.vector
Classes in org.openstreetmap.josm.data.vector that implement Tagged Modifier and Type Class Description class
VectorNode
The "Node" type of a vector layerclass
VectorPrimitive
The base class for Vector primitivesclass
VectorRelation
The "Relation" type for vectorsclass
VectorWay
The "Way" type for a Vector layer -
Uses of Tagged in org.openstreetmap.josm.gui.datatransfer.data
Constructor parameters in org.openstreetmap.josm.gui.datatransfer.data with type arguments of type Tagged Constructor Description TagTransferData(Collection<? extends Tagged> tagged)
Creates a newTagTransferData
object for the given objects. -
Uses of Tagged in org.openstreetmap.josm.gui.dialogs.properties
Fields in org.openstreetmap.josm.gui.dialogs.properties with type parameters of type Tagged Modifier and Type Field Description private Supplier<Collection<? extends Tagged>>
AbstractCopyAction. objectSupplier
Methods in org.openstreetmap.josm.gui.dialogs.properties with parameters of type Tagged Modifier and Type Method Description protected abstract Collection<String>
AbstractCopyAction. getString(Tagged p, String key)
protected Collection<String>
CopyAllKeyValueAction. getString(Tagged p, String key)
protected Collection<String>
CopyKeyValueAction. getString(Tagged p, String key)
protected Collection<String>
CopyValueAction. getString(Tagged p, String key)
Constructor parameters in org.openstreetmap.josm.gui.dialogs.properties with type arguments of type Tagged Constructor Description AbstractCopyAction(JTable tagTable, IntFunction<String> keySupplier, Supplier<Collection<? extends Tagged>> objectSupplier)
Constructs a newAbstractCopyAction
.CopyAllKeyValueAction(JTable tagTable, IntFunction<String> keyFn, Supplier<Collection<? extends Tagged>> objectSp)
Constructs a newCopyAllKeyValueAction
.CopyKeyValueAction(JTable tagTable, IntFunction<String> keyFn, Supplier<Collection<? extends Tagged>> objectSp)
Constructs a newCopyKeyValueAction
.CopyValueAction(JTable tagTable, IntFunction<String> keyFn, Supplier<Collection<? extends Tagged>> objectSp)
Constructs a newCopyValueAction
. -
Uses of Tagged in org.openstreetmap.josm.gui.layer
Methods in org.openstreetmap.josm.gui.layer with parameters of type Tagged Modifier and Type Method Description private static boolean
OsmDataLayer. containsOnlyGpxTags(Tagged t, String gpxPrefix)
-
Uses of Tagged in org.openstreetmap.josm.gui.mappaint.mapcss
Methods in org.openstreetmap.josm.gui.mappaint.mapcss with parameters of type Tagged Modifier and Type Method Description default boolean
Condition. applies(Tagged tagged)
Checks if the condition applies in the givenTagged
element.boolean
Condition.TagCondition. applies(Tagged tagged)
boolean
ConditionFactory.KeyCondition. applies(Tagged osm)
boolean
ConditionFactory.KeyRegexpCondition. applies(Tagged osm)
boolean
ConditionFactory.KeyValueCondition. applies(Tagged osm)
boolean
ConditionFactory.KeyValueRegexpCondition. applies(Tagged osm)
boolean
ConditionFactory.SimpleKeyValueCondition. applies(Tagged osm)
Tag
Condition.TagCondition. asTag(Tagged tagged)
Converts the current condition to a tagTag
ConditionFactory.KeyCondition. asTag(Tagged p)
Get the matched key and the corresponding value.Tag
ConditionFactory.KeyRegexpCondition. asTag(Tagged p)
Get the matched key and the corresponding value.Tag
ConditionFactory.KeyValueCondition. asTag(Tagged primitive)
Tag
ConditionFactory.SimpleKeyValueCondition. asTag(Tagged primitive)
protected boolean
ConditionFactory.KeyValueRegexpCondition. matches(Tagged osm)
protected boolean
ConditionFactory.RegexpKeyValueRegexpCondition. matches(Tagged osm)
void
MapCSSRuleIndex.RuleCandidatesIterator. visitKeyValue(Tagged p, String key, String value)
-
Uses of Tagged in org.openstreetmap.josm.gui.tagging
Methods in org.openstreetmap.josm.gui.tagging with parameters of type Tagged Modifier and Type Method Description void
TagEditorModel. applyToPrimitive(Tagged primitive)
applies the current state of the tag editor model to a primitivevoid
TagEditorModel. initFromPrimitive(Tagged primitive)
initializes the model with the tags of an OSM primitive -
Uses of Tagged in org.openstreetmap.josm.gui.tagging.presets
Methods in org.openstreetmap.josm.gui.tagging.presets that return Tagged Modifier and Type Method Description Tagged
TaggingPresetItemGuiSupport. getTagged()
Get tags with values as currently shown in the dialog. -
Uses of Tagged in org.openstreetmap.josm.io
Methods in org.openstreetmap.josm.io with parameters of type Tagged Modifier and Type Method Description protected void
OsmWriter. addTags(Tagged osm, String tagname, boolean tagOpen)
protected void
AbstractReader. parseTag(Tagged t, String key, String value)
private void
OsmReader. parseTag(Tagged t)
private static void
OsmJsonReader. readTags(javax.json.JsonObject item, Tagged t)
-