Uses of Class
org.openstreetmap.josm.data.osm.TagCollection

Packages that use TagCollection
org.openstreetmap.josm.actions   
org.openstreetmap.josm.data.osm   
org.openstreetmap.josm.gui.conflict.tags   
org.openstreetmap.josm.gui.tagging   
 

Uses of TagCollection in org.openstreetmap.josm.actions
 

Methods in org.openstreetmap.josm.actions that return TagCollection
protected
<T extends OsmPrimitive>
TagCollection
PasteTagsAction.TagPaster.getSourceTagsByType(OsmPrimitiveType type)
          Replies the collection of tags for all primitives of type type in the current selection
 

Methods in org.openstreetmap.josm.actions with parameters of type TagCollection
protected  void PasteTagsAction.TagPaster.buildChangeCommand(java.util.Collection<? extends OsmPrimitive> selection, TagCollection tc)
           
 

Uses of TagCollection in org.openstreetmap.josm.data.osm
 

Methods in org.openstreetmap.josm.data.osm that return TagCollection
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.
 TagCollection TagCollection.emptyTagsForKeysMissingIn(TagCollection other)
           
static TagCollection TagCollection.from(java.util.Map<java.lang.String,java.lang.String> tags)
          Creates a tag collection from a map of key/value-pairs.
static TagCollection TagCollection.from(Tagged primitive)
          Creates a tag collection from the tags managed by a specific OsmPrimitive.
 TagCollection TagCollection.getTagsFor(java.util.Collection<java.lang.String> keys)
          Replies a tag collection with all tags whose key is equal to one of the keys in keys.
 TagCollection TagCollection.getTagsFor(java.lang.String key)
          Replies a tag collection with the tags for a given key.
 TagCollection TagCollection.intersect(TagCollection other)
          Builds the intersection of this tag collection and another tag collection
 TagCollection TagCollection.minus(TagCollection other)
          Replies the difference of this tag collection and another tag collection
 TagCollection TagCollection.union(TagCollection other)
          Replies the union of this tag collection and another tag 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.
static TagCollection TagCollection.unionOfAllPrimitives(DataSet ds)
          Replies a tag collection with the union of the tags which are common to all primitives in the dataset ds.
 

Methods in org.openstreetmap.josm.data.osm with parameters of type TagCollection
 void TagCollection.add(TagCollection tags)
          Adds the tags of another tag collection to this collection.
 TagCollection TagCollection.emptyTagsForKeysMissingIn(TagCollection other)
           
 TagCollection TagCollection.intersect(TagCollection other)
          Builds the intersection of this tag collection and another tag collection
 TagCollection TagCollection.minus(TagCollection other)
          Replies the difference of this tag collection and another tag collection
 void TagCollection.remove(TagCollection tags)
          Removes all tags in the tag collection tags from the current tag collection.
 TagCollection TagCollection.union(TagCollection other)
          Replies the union of this tag collection and another tag collection
 

Constructors in org.openstreetmap.josm.data.osm with parameters of type TagCollection
TagCollection(TagCollection other)
          Creates a clone of the tag collection other.
 

Uses of TagCollection in org.openstreetmap.josm.gui.conflict.tags
 

Fields in org.openstreetmap.josm.gui.conflict.tags declared as TagCollection
private  TagCollection TagConflictResolverModel.tags
           
private  TagCollection MultiValueResolutionDecision.tags
          the collection of tags for which a decision is needed
 

Methods in org.openstreetmap.josm.gui.conflict.tags that return TagCollection
 TagCollection TagConflictResolverModel.getAllResolutions()
           
 TagCollection TagConflictResolverModel.getResolution()
           
 TagCollection PasteTagsConflictResolverDialog.getResolution()
           
 TagCollection PasteTagsConflictResolverDialog.getResolution(OsmPrimitiveType type)
           
 

Methods in org.openstreetmap.josm.gui.conflict.tags with parameters of type TagCollection
protected  java.util.List<Command> CombinePrimitiveResolverDialog.buildTagChangeCommand(OsmPrimitive primitive, TagCollection tc)
           
static void TagConflictResolutionUtil.combineTigerTags(TagCollection tc)
          Combines tags from TIGER data
static void TagConflictResolutionUtil.completeTagCollectionForEditing(TagCollection tc)
          Completes tags in the tag collection tc with the empty value for each tag.
protected static void CombinePrimitiveResolverDialog.informAboutTagConflicts(java.util.Collection<? extends OsmPrimitive> primitives, TagCollection normalizedTags)
          Inform a non-expert user about what tag conflict resolution means.
protected  void PasteTagsConflictResolverDialog.initResolver(OsmPrimitiveType type, TagCollection tc, java.util.Map<OsmPrimitiveType,java.lang.Integer> targetStatistics)
          Initializes the conflict resolver for a specific type of primitives
static java.util.List<Command> CombinePrimitiveResolverDialog.launchIfNecessary(TagCollection tagsOfPrimitives, java.util.Collection<? extends OsmPrimitive> primitives, java.util.Collection<? extends OsmPrimitive> targetPrimitives)
          Replies the list of commands needed to resolve specified conflicts, by displaying if necessary a CombinePrimitiveResolverDialog to the user.
static void TagConflictResolutionUtil.normalizeTagCollectionBeforeEditing(TagCollection tc, java.util.Collection<? extends OsmPrimitive> merged)
          Normalizes the tags in the tag collection tc before resolving tag conflicts.
 void PasteTagsConflictResolverDialog.populate(TagCollection tagsForAllPrimitives, java.util.Map<OsmPrimitiveType,java.lang.Integer> sourceStatistics, java.util.Map<OsmPrimitiveType,java.lang.Integer> targetStatistics)
          Populates the conflict resolver with one tag collection
 void TagConflictResolverModel.populate(TagCollection tags, java.util.Set<java.lang.String> keysWithConflicts)
          Populates the model with the tags for which conflicts are to be resolved.
 void PasteTagsConflictResolverDialog.populate(TagCollection tagsForNodes, TagCollection tagsForWays, TagCollection tagsForRelations, java.util.Map<OsmPrimitiveType,java.lang.Integer> sourceStatistics, java.util.Map<OsmPrimitiveType,java.lang.Integer> targetStatistics)
          Populate the tag conflict resolver with tags for each type of primitives
 

Constructors in org.openstreetmap.josm.gui.conflict.tags with parameters of type TagCollection
MultiValueResolutionDecision(TagCollection tags)
          Creates a new decision for the tag collection tags.
 

Uses of TagCollection in org.openstreetmap.josm.gui.tagging
 

Methods in org.openstreetmap.josm.gui.tagging that return TagCollection
 TagCollection TagEditorModel.getTagCollection()
          Replies the tags in this tag editor model as TagCollection.
 

Methods in org.openstreetmap.josm.gui.tagging with parameters of type TagCollection
 void TagEditorModel.initFromTags(TagCollection tags)
          Initializes the model with the tags in a tag collection.
 



JOSM