org.apache.sis.util.iso

## Class AbstractFactory

- Object
- - AbstractFactory

- All Implemented Interfaces:
    Factory
  Direct Known Subclasses:
    DefaultCoordinateOperationFactory, DefaultMathTransformFactory, DefaultNameFactory, GeodeticAuthorityFactory, GeodeticObjectFactory

      public abstract class AbstractFactory
      extends Object
      implements Factory

  Base class of factories provided in the Apache SIS library.
  Since:
    0.3

  Defined in the `sis-utility` module

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `AbstractFactory()` Creates a new factory.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Citation` | `getVendor()` Returns the implementor of this factory, or `null` if unknown.

    - ### Methods inherited from class Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractFactory

          protected AbstractFactory()

      Creates a new factory.

  - ### Method Detail

    - #### getVendor

          public Citation getVendor()

      Returns the implementor of this factory, or `null` if unknown. The default implementation tries to fetch this information from the manifest associated to the package of `this​.getClass()`.
      Specified by:
        `getVendor` in interface `Factory`
      Returns:
        the vendor for this factory implementation, or `null` if unknown.
      See Also:
        `Package​.getImplementationVendor()`

Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.