org.geotoolkit.lang
Class Builder<T>
Object
Builder<T>
- Type Parameters:
T - The type of objects to build.
- Direct Known Subclasses:
- GridCoverageBuilder, GridCoverageBuilder.Variable, MosaicBuilder, ReferencingBuilder, SpatialMetadataFormatBuilder
public abstract class Builder<T>
- extends Object
Base class of all classes that are builder for other objects.
Subclasses provides an arbitrary amount of setter, together with a single build()
method implementation which create the object using the values previously set.
- Since:
- 3.20
- Version:
- 3.20
- Author:
- Martin Desruisseaux (Geomatys)
- Module:
|
Constructor Summary |
protected |
Builder()
Creates an empty builder. |
|
Method Summary |
abstract T |
build()
Creates the objects from the value previously set. |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Builder
protected Builder()
- Creates an empty builder. The default values of all fields are implementation dependent.
build
public abstract T build()
- Creates the objects from the value previously set.
- Returns:
- The new object created from the user values.
Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.