Attached is the deprecated list from GeoTools 2.0.x ... anything on this list should be removed from GeoTools 2.2.x before release...
All in all not very much ...

Jody
Title: Deprecated List (geotools-2.0.x build 2.0.x API)










Deprecated API


Contents
Deprecated Interfaces
org.geotools.util.Cloneable
          Use Cloneable from GeoAPI instead. This interface will be removed in a future version. 
org.geotools.data.vpf.ifc.Coordinate
            
org.geotools.data.DataSource
          Replaced by DataStore or GridCoverageExchange as required. 
org.geotools.pt.Dimensioned
          No replacement at this time. 
org.geotools.gml.GMLHandlerFeature
          Will be replaced with org.geotools.xml.* 
org.geotools.gml.GMLHandlerGeometry
          Will be replaced with org.geotools.xml.* 
org.geotools.gml.GMLHandlerJTS
          Will be replaced with org.geotools.xml.* 
org.geotools.map.Map
          Use Context instead. 
org.geotools.gui.widget.MapPane
            
org.geotools.gui.widget.PanelWidget
            
org.geotools.resources.RemoteProxy
          This interface was used by the legacy CRS packages, whic are going to be removed. 
org.geotools.gui.widget.Widget
            
 

Deprecated Classes
org.geotools.pt.Angle
          Replaced by Angle in the org.geotools.measure package. 
org.geotools.pt.AngleFormat
          Replaced by AngleFormat in the org.geotools.measure package. 
org.geotools.pt.CoordinateFormat
          Replaced by CoordinateFormat in the org.geotools.measure package. 
org.geotools.resources.CTSUtilities
          Use CRSUtilities instead. 
org.geotools.resources.DescriptorNaming
          Was used for the legacy CTS implementation only. No replacement. 
org.geotools.util.EqualsUtils
          This method was already provided in Utilities. Note that this method is not part of the public API and may be removed in any future Geotools version (especially when a similar method will be available in J2SE code). 
org.geotools.gml.producer.FeatureTransformer
          Will be replaced with org.geotools.xml.* 
org.geotools.gml.producer.FeatureTypeTransformer
          Will be replaced with org.geotools.xml.* 
org.geotools.gml.producer.GeometryTransformer
          Will be replaced with org.geotools.xml.* 
org.geotools.resources.Geotools
          Invoke MonolineFormatter.initGeotools() instead. 
org.geotools.data.gml.GMLDataSource
          Will be replaced with a GMLDataStore 
org.geotools.data.gml.GMLDataSourceFactory
          Will be replaced with a GMLDataStore 
org.geotools.gml.GMLFilterDocument
          Will be replaced with org.geotools.xml.* 
org.geotools.gml.GMLFilterFeature
          Will be replaced with org.geotools.xml.* 
org.geotools.gml.GMLFilterGeometry
          Will be replaced with org.geotools.xml.* 
org.geotools.gml.GMLReceiver
          Will be replaced with org.geotools.xml.* 
org.geotools.pt.Latitude
          Replaced by Latitude in the org.geotools.measure package. 
org.geotools.resources.LegacyGCSUtilities
          Replaced by GCSUtilities. 
org.geotools.pt.Longitude
          Replaced by Longitude in the org.geotools.measure package. 
org.geotools.resources.MonolineFormatter
          Moved to the org.geotools.util package. 
org.geotools.io.NIOBufferUtils
          Use NIOUtilities instead. 
org.geotools.io.image.RawBinaryImageReader
          Use Sun's RAW decoder provided with "Java Advanced Imaging Image I/O Tools" instead. Download at http://java.sun.com/products/java-media/jai/. 
org.geotools.io.image.RawBinaryImageReadParam
          Use Sun's RAW decoder provided with "Java Advanced Imaging Image I/O Tools" instead. Download at http://java.sun.com/products/java-media/jai/. 
org.geotools.styling.SLDStyle
          Replaced by SLDParser which has a more appropriate name 
org.geotools.gml.SubHandler
          Will be replaced with org.geotools.xml.* 
org.geotools.gml.SubHandlerBox
          Will be replaced with org.geotools.xml.* 
org.geotools.gml.SubHandlerFactory
          Will be replaced with org.geotools.xml.* 
org.geotools.gml.SubHandlerLinearRing
          Will be replaced with org.geotools.xml.* 
org.geotools.gml.SubHandlerLineString
          Will be replaced with org.geotools.xml.* 
org.geotools.gml.SubHandlerMulti
          Will be replaced with org.geotools.xml.* 
org.geotools.gml.SubHandlerPoint
          Will be replaced with org.geotools.xml.* 
org.geotools.gml.SubHandlerPolygon
          Will be replaced with org.geotools.xml.* 
org.geotools.data.vpf.io.TableInputStream
            
org.geotools.gml.TestHandler
          Will be replaced with org.geotools.xml.* 
org.geotools.gml.TestParser
          Will be replaced with org.geotools.xml.* 
org.geotools.units.Unit
          Replaced by the Unit framework. 
org.geotools.units.UnitTransform
          Replaced by the Unit framework. 
org.geotools.data.vpf.VPFSchemaCreator
            
org.geotools.resources.WKTElement
          Rempaced by Element. 
org.geotools.resources.WKTFormat
          Rempaced by org.geotools.referencing.wkt.AbstractFormat. 
org.geotools.filter.XMLEncoder
          Use org.geotools.filter.FilterTransformer 
org.geotools.styling.XMLEncoder
          Use org.geotools.styling.SLDTransformer 
 

Deprecated Exceptions
org.geotools.cv.CannotEvaluateException
          Replaced by CannotEvaluateException in the org.geotools.coverage package. 
org.geotools.cs.FactoryException
          Replaced by FactoryException. 
org.geotools.gml.GMLException
          Will be replaced with org.geotools.xml.* 
org.geotools.pt.MismatchedDimensionException
          Replaced by MismatchedDimensionException. 
org.geotools.ct.NoninvertibleTransformException
          Replaced by NoninvertibleTransformException in the org.opengis.referencing.operation package. 
org.geotools.ct.TransformException
          Replaced by TransformException in the org.opengis.referencing.operation package. 
org.geotools.units.UnitException
          Replaced by the Unit framework. 
 

Deprecated Fields
org.geotools.units.Unit.ARC_SECOND
          Replaced by NonSI.SECOND_ANGLE. 
org.geotools.units.Unit.DAY
          Replaced by NonSI.DAY. 
org.geotools.units.Unit.DEGREE
          Replaced by NonSI.DEGREE_ANGLE. 
org.geotools.renderer.Renderer.interactive
          This flag should not be there. 
org.geotools.units.Unit.KILOGRAM
          Replaced by SI.KILOGRAM. 
org.geotools.units.Unit.KILOMETRE
          Replaced by SI.KILO(SI.METER). 
org.geotools.units.Unit.METRE
          Replaced by SI.METER. 
org.geotools.units.Unit.MILLISECOND
          Replaced by SI.MILLI(SI.SECOND). 
org.geotools.units.Unit.RADIAN
          Replaced by SI.RADIAN. 
org.geotools.units.Unit.SECOND
          Replaced by SI.SECOND. 
 

Deprecated Methods
org.geotools.science.astro.SunRelativePosition.compute(double, double, Date)
          Use SunRelativePosition.setCoordinate(double,double) and SunRelativePosition.setDate(Date) instead. 
org.geotools.gui.swing.ZoomPane.correctPointForMagnifier(Point2D)
          Use ZoomPane.correctApparentPixelPosition(java.awt.geom.Point2D) instead. This is use a method's name change; the behavior is the same. 
org.geotools.referencing.Factory.createImageCRS(Map, ImageDatum, CoordinateSystem)
          Provided for compatibility with GeoAPI 1.0, but will be removed in GeoAPI 1.1. 
org.geotools.pt.Envelope.createIntersection(Envelope)
          Use ((Envelope)clone()).intersect(envelope) instead. 
org.geotools.styling.LineSymbolizer.geometryPropertyName()
          Misnamed. Use getGeometryPropertyName instead. 
org.geotools.styling.LineSymbolizerImpl.geometryPropertyName()
          Misnamed. Use getGeometryPropertyName instead. 
org.geotools.styling.PointSymbolizer.geometryPropertyName()
          Misnamed. Use getGeometryPropertyName instead. 
org.geotools.styling.PolygonSymbolizer.geometryPropertyName()
          Misnamed. Use getGeometryPropertyName instead. 
org.geotools.styling.PolygonSymbolizerImpl.geometryPropertyName()
          Misnamed. Use getGeometryPropertyName instead. 
org.geotools.gui.swing.CoordinateChooser.getAccessory()
          Depracated together with CoordinateChooser.setAccessory(javax.swing.JComponent). 
org.geotools.renderer.geom.Geometry.getBounds()
          This method is required by the Shape interface, but it doesn't provide enough precision for most cases. Use Geometry.getBounds2D() instead. 
org.geotools.renderer.geom.GeometryProxy.getBounds()
          This method is required by the Shape interface, but it doesn't provide enough precision for most cases. Use GeometryProxy.getBounds2D() instead. 
org.geotools.filter.parser.SimpleCharStream.getColumn()
            
org.geotools.filter.parser.SimpleCharStream.getLine()
            
org.geotools.renderer.j2d.RenderedLegend.getMargin()
          Use RenderedLegend.getInsets() instead. 
org.geotools.resources.Geotools.init()
          Invoke MonolineFormatter.initGeotools() instead. 
org.geotools.resources.Geotools.init(Level)
          Invoke MonolineFormatter.initGeotools(Level) instead. 
org.geotools.gc.GridCoverage.interpolate(GridCoverage)
          Override GridCoverage.createGeophysics(boolean) instead. This method will be removed in a future version. 
org.geotools.renderer.j2d.Renderer.paint(Graphics2D, AffineTransform, Rectangle)
          Use Renderer.paint(Graphics2D, Rectangle, AffineTransform) instead. 
org.geotools.renderer.j2d.Renderer.paint(Graphics2D, Rectangle, AffineTransform)
          Use Renderer.paint(Graphics2D,Rectangle,AffineTransform,boolean) instead. 
org.geotools.gui.swing.CoordinateChooser.setAccessory(JComponent)
          This method doesn't bring any new feature. You can do the same with better results using the following code:
             JPanel panel = new JPanel(new BorderLayout());
             panel.add(coordinateChooser, BorderLayout.WEST);
             panel.add(accessory, BorderLayout.CENTER);
             
 
org.geotools.styling.Style.setIsDefault(boolean)
          Not proper bean pattern, use setDefault(boolean) 
org.geotools.filter.SQLEncoderSDE.setLayer(SeLayer)
          remove when the old data api dissapear 
org.geotools.filter.GeometryEncoderSDE.setLayer(SeLayer)
          remove when the old data api dissapear 
org.geotools.renderer.j2d.RenderedLegend.setMargin(Insets)
          Use RenderedLegend.setInsets(java.awt.Insets) instead. 
org.geotools.renderer.lite.LiteRenderer.setOutput(Graphics, Rectangle)
          Graphics and bounds is to be set in renderer(). 
 

Deprecated Constructors
org.geotools.data.DefaultQuery(Filter)
          Please use DefaultQuery( typeName, filter ) instead. 
org.geotools.data.DefaultQuery(Filter, String[])
          Use a constructor with the typeName, as datastores depend on it. 
org.geotools.data.jdbc.JDBCDataStore(ConnectionPool)
          This is deprecated in favour of the JDBCDataStoreConfig object. 
org.geotools.data.jdbc.JDBCDataStore(ConnectionPool, String)
          This is deprecated in favour of the JDBCDataStoreConfig object. 
org.geotools.data.jdbc.JDBCDataStore(ConnectionPool, String, Map)
          This is deprecated in favour of the JDBCDataStoreConfig object. 
org.geotools.data.jdbc.JDBCDataStore(ConnectionPool, String, Map, String)
          This is deprecated in favour of the JDBCDataStoreConfig object. 
 



Copyright © GeoTools. All Rights Reserved.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to