private static class GeoJSONWriter.GeometryPrimitiveVisitor extends java.lang.Object implements PrimitiveVisitor
Modifier and Type | Field and Description |
---|---|
private javax.json.JsonObjectBuilder |
geomObj |
Constructor and Description |
---|
GeoJSONWriter.GeometryPrimitiveVisitor(javax.json.JsonObjectBuilder geomObj) |
private final javax.json.JsonObjectBuilder geomObj
public GeoJSONWriter.GeometryPrimitiveVisitor(javax.json.JsonObjectBuilder geomObj)
public void visit(INode n)
PrimitiveVisitor
visit
in interface PrimitiveVisitor
n
- The node to inspect.public void visit(IWay w)
PrimitiveVisitor
visit
in interface PrimitiveVisitor
w
- The way to inspect.public void visit(IRelation r)
PrimitiveVisitor
visit
in interface PrimitiveVisitor
r
- The relation to inspect.private javax.json.JsonArrayBuilder getCoorArray(LatLon c)