| java.lang.Object org.geotools.factory.AbstractFactory org.geotools.referencing.factory.ReferencingFactory
All known Subclasses: org.geotools.referencing.operation.AbstractCoordinateOperationFactory, org.geotools.referencing.operation.DefaultMathTransformFactory, org.geotools.referencing.factory.AbstractAuthorityFactory, org.geotools.referencing.factory.ReferencingFactoryContainer, org.geotools.referencing.factory.DatumAliases, org.geotools.referencing.factory.ReferencingObjectFactory,
ReferencingFactory | public class ReferencingFactory extends AbstractFactory implements Factory(Code) | | Base class for all factories in the referencing module.
Factories can be grouped in two categories:
creates objects from
a compact string defined by an authority.
These classes are working as "builders": they hold the definition or recipie
used to construct an objet.
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: $Id: ReferencingFactory.java 27862 2007-11-12 19:51:19Z desruisseaux $ author: Martin Desruisseaux |
Field Summary | |
final static Citation | ALL A citation which contains only the title "All" in localized language. | final public static Logger | LOGGER The logger for event related to Geotools's factories. |
Constructor Summary | |
protected | ReferencingFactory() Constructs a factory with the default priority. | protected | ReferencingFactory(int priority) Constructs a factory with the specified priority. |
Method Summary | |
Collection | dependencies() Returns the direct
dependencies, which may be
null .
This method should not returns indirect dependencies. | protected static void | ensureNonNull(String name, Object object) Makes sure that an argument is non-null. | public Citation | getVendor() Returns the vendor responsible for creating this factory implementation. |
LOGGER | final public static Logger LOGGER(Code) | | The logger for event related to Geotools's factories.
|
ReferencingFactory | protected ReferencingFactory()(Code) | | Constructs a factory with the default priority.
|
dependencies | Collection dependencies()(Code) | | Returns the direct
dependencies, which may be
null .
This method should not returns indirect dependencies. Elements should be instance of
Factory or
FactoryException if a particular dependency can't be obtained.
The default implementation always returns an empty set.
|
ensureNonNull | protected static void ensureNonNull(String name, Object object) throws InvalidParameterValueException(Code) | | Makes sure that an argument is non-null. This is a
convenience method for subclass methods.
Parameters: name - Argument name. Parameters: object - User argument. throws: InvalidParameterValueException - if object is null. |
getVendor | public Citation getVendor()(Code) | | Returns the vendor responsible for creating this factory implementation. Many implementations
may be available for the same factory interface. The default implementation returns
.
The vendor for this factory implementation. |
|
|