org.geotoolkit.referencing.factory
Class ReferencingFactory
Object
Factory
ReferencingFactory
- All Implemented Interfaces:
- Factory
- Direct Known Subclasses:
- AbstractAuthorityFactory, AbstractCoordinateOperationFactory, DatumAliases, DefaultMathTransformFactory, ReferencingFactoryContainer, ReferencingObjectFactory
@ThreadSafe
public class ReferencingFactory
- extends Factory
- implements Factory
Base class for all factories in the referencing module.
Factories can be grouped in two categories:
Authority factories creates objects from a compact
string defined by an authority. These classes are working as "builders": they hold
the definition or recipes used to construct an object.
Object factories allows applications to make objects that
cannot be created by an authority factory. This factory is very flexible, whereas
the authority factory is easier to use. These classes are working as "Factories":
they provide a series of create methods that can be used like a constructor.
- Since:
- 2.1
- Version:
- 3.00
- Author:
- Martin Desruisseaux (IRD)
- Module:
|
Field Summary |
static Logger |
LOGGER
The logger for event related to Geotk factories. |
|
Method Summary |
protected static void |
ensureNonNull(String name,
Object object)
Makes sure that an argument is non-null. |
Citation |
getVendor()
Returns the vendor responsible for creating this factory implementation. |
LOGGER
public static final Logger LOGGER
- The logger for event related to Geotk factories.
ReferencingFactory
protected ReferencingFactory()
- Constructs a factory.
getVendor
public Citation getVendor()
- Returns the vendor responsible for creating this factory implementation.
Many implementations from different vendors may be available for the same
factory interface.
The default for Geotk implementations is to return
Geotoolkit.org.
- Specified by:
getVendor in interface Factory
- Returns:
- The vendor for this factory implementation.
- See Also:
Citations.GEOTOOLKIT
ensureNonNull
protected static void ensureNonNull(String name,
Object object)
throws InvalidParameterValueException
- Makes sure that an argument is non-null. This is a convenience method for subclass methods.
- Parameters:
name - Argument name.object - User argument.
- Throws:
InvalidParameterValueException - if object is null.
Copyright © 2009-2011 Geotoolkit.org. All Rights Reserved.