# Class AbstractFactory

Object
AbstractFactory

All Implemented Interfaces:
  `Factory`

Direct Known Subclasses:
  `DefaultCoordinateOperationFactory`, `DefaultFilterFactory`, `DefaultMathTransformFactory`, `DefaultNameFactory`, `GazetteerFactory`, `GeodeticAuthorityFactory`, `GeodeticObjectFactory`, `MultiRegisterOperations`

public abstract class AbstractFactory extends Object implements Factory
Base class of factories provided in the Apache SIS library.

Since:
  0.3

- ## 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.
  `String`
  `toString()`
  Returns a string representation of this factory for debugging purposes.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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()`

  - ### toString

    public String toString()
    Returns a string representation of this factory for debugging purposes. This string representation may change in any future version of Apache SIS.
    Overrides:
      `toString` in class `Object`
    Returns:
      a string representation of this factory.
    Since:
      1.5