private class GeoJSONWriter.GeometryPrimitiveVisitor extends java.lang.Object implements OsmPrimitiveVisitor
| Modifier and Type | Field and Description |
|---|---|
private javax.json.JsonObjectBuilder |
geomObj |
| Constructor and Description |
|---|
GeometryPrimitiveVisitor(javax.json.JsonObjectBuilder geomObj) |
| Modifier and Type | Method and Description |
|---|---|
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 final javax.json.JsonObjectBuilder geomObj
GeometryPrimitiveVisitor(javax.json.JsonObjectBuilder geomObj)
public void visit(Node n)
OsmPrimitiveVisitorvisit in interface OsmPrimitiveVisitorn - The node to inspect.public void visit(Way w)
OsmPrimitiveVisitorvisit in interface OsmPrimitiveVisitorw - The way to inspect.public void visit(Relation r)
OsmPrimitiveVisitorvisit in interface OsmPrimitiveVisitorr - The relation to inspect.