Package org.openstreetmap.josm.command
Class Command.CloneVisitor
- java.lang.Object
-
- org.openstreetmap.josm.command.Command.CloneVisitor
-
- All Implemented Interfaces:
OsmPrimitiveVisitor
- Enclosing class:
- Command
private static final class Command.CloneVisitor extends java.lang.Object implements OsmPrimitiveVisitor
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Map<OsmPrimitive,PrimitiveData>orig
-
Constructor Summary
Constructors Modifier Constructor Description privateCloneVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisit(Node n)Visiting call for points.voidvisit(Relation e)Visiting call for relations.voidvisit(Way w)Visiting call for lines.
-
-
-
Field Detail
-
orig
final java.util.Map<OsmPrimitive,PrimitiveData> orig
-
-
Constructor Detail
-
CloneVisitor
private CloneVisitor()
-
-
Method Detail
-
visit
public void visit(Node n)
Description copied from interface:OsmPrimitiveVisitorVisiting call for points.- Specified by:
visitin interfaceOsmPrimitiveVisitor- Parameters:
n- The node to inspect.
-
visit
public void visit(Way w)
Description copied from interface:OsmPrimitiveVisitorVisiting call for lines.- Specified by:
visitin interfaceOsmPrimitiveVisitor- Parameters:
w- The way to inspect.
-
visit
public void visit(Relation e)
Description copied from interface:OsmPrimitiveVisitorVisiting call for relations.- Specified by:
visitin interfaceOsmPrimitiveVisitor- Parameters:
e- The relation to inspect.
-
-