private class GeoJSONWriter.GeometryPrimitiveVisitor extends java.lang.Object implements PrimitiveVisitor
| Modifier and Type | Field and Description |
|---|---|
private JsonObjectBuilder |
geomObj |
| Constructor and Description |
|---|
GeometryPrimitiveVisitor(JsonObjectBuilder geomObj) |
| Modifier and Type | Method and Description |
|---|---|
void |
visit(INode n)
Visiting call for points.
|
void |
visit(IRelation r)
Visiting call for relations.
|
void |
visit(IWay w)
Visiting call for lines.
|
private final JsonObjectBuilder geomObj
GeometryPrimitiveVisitor(JsonObjectBuilder geomObj)
public void visit(INode n)
PrimitiveVisitorvisit in interface PrimitiveVisitorn - The node to inspect.public void visit(IWay w)
PrimitiveVisitorvisit in interface PrimitiveVisitorw - The way to inspect.public void visit(IRelation r)
PrimitiveVisitorvisit in interface PrimitiveVisitorr - The relation to inspect.