public class ReferencingFactory extends AbstractFactory implements Factory
Authority factories creates
objects from a compact string defined by an authority.
These classes are working as "builders": they hold the definition or recipies used to
construct an objet.
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.
Modifier and Type | Field and Description |
---|---|
static Logger |
LOGGER
The logger for event related to Geotools's factories.
|
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority
Modifier | Constructor and Description |
---|---|
protected |
ReferencingFactory()
Constructs a factory with the default priority.
|
protected |
ReferencingFactory(int priority)
Constructs a factory with the specified priority.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toString
public static final Logger LOGGER
protected ReferencingFactory()
protected ReferencingFactory(int priority)
priority
- The priority for this factory, as a number between MINIMUM_PRIORITY
and MAXIMUM_PRIORITY
inclusive.public Citation getVendor()
protected static void ensureNonNull(String name, Object object) throws InvalidParameterValueException
name
- Argument name.object
- User argument.InvalidParameterValueException
- if object
is null.Copyright © 1996–2019 Geotools. All rights reserved.