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)
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.private javax.json.JsonArrayBuilder getCoorArray(LatLon c)