|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Formattable
Interface for objects that can be formatted as Well Known Text (WKT).
This interface provides a formatWKT(Formatter) method, which is invoked
at WKT formatting time.
Except for AffineTransform2D,
most Geotk implementations extend FormattableObject rather than implementing
directly this interface.
| referencing/geotk-referencing (download) | View source code for this class |
| Method Summary | |
|---|---|
String |
formatWKT(Formatter formatter)
Formats the inner part of a Well Known Text (WKT) element. |
| Method Detail |
|---|
String formatWKT(Formatter formatter)
Formatter.append(Formattable). Element name and authority
code must not be formatted here. For example for a GEOGCS element, the formatter
will invoke this method for completing the WKT at the insertion point show below:
GEOGCS["WGS 84", AUTHORITY["EPSG","4326"]]
↑
(insertion point)
formatter - The formatter to use.
"GEOGCS").
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||