Package org.apache.sis.util.iso

# Class AbstractFactory

Object
AbstractFactory

All Implemented Interfaces:
  `Factory`

Direct Known Subclasses:
  `DefaultCoordinateOperationFactory`, `DefaultFilterFactory`, `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-metadata` module

- ## Constructor Summary

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

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Citation`
  `getVendor()`
  Returns the implementer of this factory, or `null` if unknown.

  ### Methods inherited from class Object

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

- ## Constructor Details

  - ### AbstractFactory

    protected AbstractFactory()
    Creates a new factory.

- ## Method Details

  - ### getVendor

    public Citation getVendor()
    Returns the implementer 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()`