org.geotoolkit.io.wkt
Interface Formattable

All Known Implementing Classes:
AbridgedMolodensky, AbstractCoordinateOperation, AbstractCRS, AbstractCS, AbstractDatum, AbstractDerivedCRS, AbstractIdentifiedObject, AbstractMathTransform, AbstractMathTransform.Inverse, AbstractMathTransform1D, AbstractMathTransform2D, AbstractMathTransform2D.Inverse, AbstractParameter, AbstractParameterDescriptor, AbstractReferenceSystem, AbstractSingleCRS, Affine, AffineTransform2D, AlbersEqualArea, AlbersEqualArea, BursaWolfParameters, CassiniSoldner, CassiniSoldner, ConcatenatedTransform, CoordinateFrameRotation, DefaultAffineCS, DefaultCartesianCS, DefaultCompoundCRS, DefaultCompoundCS, DefaultConcatenatedOperation, DefaultConicProjection, DefaultConversion, DefaultCoordinateSystemAxis, DefaultCylindricalCS, DefaultCylindricalProjection, DefaultDerivedCRS, DefaultEllipsoid, DefaultEllipsoidalCS, DefaultEngineeringCRS, DefaultEngineeringDatum, DefaultGeocentricCRS, DefaultGeodeticDatum, DefaultGeographicCRS, DefaultImageCRS, DefaultImageDatum, DefaultLinearCS, DefaultOperationMethod, DefaultParameterDescriptor, DefaultParameterDescriptorGroup, DefaultPassThroughOperation, DefaultPlanarProjection, DefaultPolarCS, DefaultPrimeMeridian, DefaultProjectedCRS, DefaultProjection, DefaultSingleOperation, DefaultSphericalCS, DefaultTemporalCRS, DefaultTemporalDatum, DefaultTimeCS, DefaultTransformation, DefaultUserDefinedCS, DefaultVerticalCRS, DefaultVerticalCS, DefaultVerticalDatum, DefiningConversion, EllipsoidToGeocentric, EquatorialStereographic, EquidistantCylindrical, EquidistantCylindrical.Legacy, EquidistantCylindrical.Spherical, Equirectangular, Exponential, ExponentialTransform1D, FloatParameter, FormattableObject, GeocentricAffineTransform, GeocentricToEllipsoid, GeocentricTransform, GeocentricTranslation, GridTransform, GridTransform2D, HotineObliqueMercator, HotineObliqueMercator.TwoPoint, IdentityTransform, Krovak, Krovak, LambertAzimuthalEqualArea, LambertAzimuthalEqualArea, LambertAzimuthalEqualArea.Spherical, LambertConformal, LambertConformal1SP, LambertConformal2SP, LambertConformal2SP.Belgium, LambertConformal2SP.ESRI, LinearTransform1D, Logarithmic, LogarithmicTransform1D, LongitudeRotation, MapProjection, MathTransformProvider, MatrixParameterDescriptors, MatrixParameters, Mercator, Mercator1SP, Mercator2SP, MillerCylindrical, Molodensky, MolodenskyTransform, NADCON, NadconTransform, NewZealandMapGrid, NewZealandMapGrid, NTv2, NTv2Transform, ObliqueMercator, ObliqueMercator, ObliqueMercator.TwoPoint, ObliqueStereographic, ObliqueStereographic, Orthographic, Orthographic, Parameter, ParameterGroup, PassThroughTransform, PlateCarree, PolarStereographic, PolarStereographic, PolarStereographic.North, PolarStereographic.South, PolarStereographic.VariantB, Polyconic, Polyconic, PositionVector7Param, ProjectiveTransform, PseudoMercator, RGF93, Stereographic, Stereographic, TransverseMercator, TransverseMercator, TransverseMercator.SouthOrientated, UnitaryProjection

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.

Since:
2.0
Version:
3.00
Author:
Martin Desruisseaux (IRD)
Module:
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

formatWKT

String formatWKT(Formatter formatter)
Formats the inner part of a Well Known Text (WKT) element. This method is automatically invoked by 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)

Parameters:
formatter - The formatter to use.
Returns:
The name of the WKT element type (e.g. "GEOGCS").


Copyright © 2009-2011 Geotoolkit.org. All Rights Reserved.