static class UploadSelectionAction.UploadHullBuilder extends Object implements Visitor
Modifier and Type | Field and Description |
---|---|
private Set<OsmPrimitive> |
hull |
Constructor and Description |
---|
UploadHullBuilder() |
Modifier and Type | Method and Description |
---|---|
Set<OsmPrimitive> |
build(Collection<OsmPrimitive> base)
Builds the "hull" of primitives to be uploaded given a base collection
of osm primitives.
|
void |
visit(Changeset cs)
Visiting call for changesets.
|
void |
visit(Node n)
Visiting call for points.
|
void |
visit(Relation r)
Visiting call for relations.
|
void |
visit(Way w)
Visiting call for lines.
|
private Set<OsmPrimitive> hull
public UploadHullBuilder()
public void visit(Node n)
Visitor
public void visit(Relation r)
Visitor
public void visit(Changeset cs)
Visitor
public Set<OsmPrimitive> build(Collection<OsmPrimitive> base) throws IllegalArgumentException
base
- the base collection. Must not be null.IllegalArgumentException
- thrown if base is null