#2 Make WKTReader extensible

open
nobody
None
5
2012-03-26
2012-03-26
David Smiley
No

Attached is a patch that makes WKTReader more extensible. All members are made protected when they were formerly private. And readGeometryTaggedText() will now look in a hashmap of registered callbacks for custom types.

This patch also reflects some minor code cleanup.

Discussion

  • David Smiley
    David Smiley
    2012-06-07

    The updated patch is Java 1.4 compatible my removing use of the Callable interface. Instead I added a callback that can be extended to support user-defined geometry or operations.