The only change in this commit is to rename FactoryFinder
as ReferencingFactoryFinder
.
However this change does not apply to SIS since we do not plan to port [Referencing]FactoryFinder
.
The plan is to replace them by some dependency injection mechanism.
Command line:
svn diff --extensions "--unified --ignore-space-change --ignore-all-space --ignore-eol-style" -r25049:25050 https://svn.osgeo.org/geotools/trunk/modules/library/referencing/src/main/java/org/geotools/referencing/factory/OrderedAxisAuthorityFactory.java
Revision 25049 | Revision 25050 |
---|---|
// Geotools dependencies
import org.geotools.factory.Hints;
import org.geotools.factory.FactoryRegistryException;
import org.geotools.referencing.FactoryFinder;
import org.geotools.referencing.cs.DefaultCoordinateSystemAxis;
import org.geotools.resources.i18n.Errors;
import org.geotools.resources.i18n.ErrorKeys; |
// Geotools dependencies
import org.geotools.factory.Hints;
import org.geotools.factory.FactoryRegistryException;
import org.geotools.referencing.ReferencingFactoryFinder;
import org.geotools.referencing.cs.DefaultCoordinateSystemAxis;
import org.geotools.resources.i18n.Errors;
import org.geotools.resources.i18n.ErrorKeys; |
* <p>
* For some authority factories, an instance of this class can be obtained by passing a
* {@link Hints#FORCE_LONGITUDE_FIRST_AXIS_ORDER FORCE_LONGITUDE_FIRST_AXIS_ORDER} hint
* to the <code>{@linkplain FactoryFinder#getCRSAuthorityFactory
* FactoryFinder.getCRSAuthorityFactory}(...)</code> method. Whatever this hint is supported
* or not is authority dependent. Example:
* |
* <p>
* For some authority factories, an instance of this class can be obtained by passing a
* {@link Hints#FORCE_LONGITUDE_FIRST_AXIS_ORDER FORCE_LONGITUDE_FIRST_AXIS_ORDER} hint
* to the <code>{@linkplain ReferencingFactoryFinder#getCRSAuthorityFactory
* FactoryFinder.getCRSAuthorityFactory}(...)</code> method. Whatever this hint is supported
* or not is authority dependent. Example:
* |
/** * Creates a factory which will reorder the axis of all objects created by the default * authority factories. The factories are fetched using {@link FactoryFinder}. This * constructor accepts the following hints: * <p> * <ul> * <li>{@link Hints#FORCE_STANDARD_AXIS_UNITS}</li> * <li>{@link Hints#FORCE_STANDARD_AXIS_DIRECTIONS}</li> * <li>All hints understood by {@link FactoryFinder}</li> * </ul> * * @param authority The authority to wraps (example: {@code "EPSG"}). If {@code null}, |
/** * Creates a factory which will reorder the axis of all objects created by the default * authority factories. The factories are fetched using {@link ReferencingFactoryFinder}. This * constructor accepts the following hints: * <p> * <ul> * <li>{@link Hints#FORCE_STANDARD_AXIS_UNITS}</li> * <li>{@link Hints#FORCE_STANDARD_AXIS_DIRECTIONS}</li> * <li>All hints understood by {@link ReferencingFactoryFinder}</li> * </ul> * * @param authority The authority to wraps (example: {@code "EPSG"}). If {@code null}, |