ObjectFactory (FreeMarker 2.3.35 API)
Description: declaration: package: freemarker.template.utility, interface: ObjectFactory

Package freemarker.template.utility

# Interface ObjectFactory<T>

public interface ObjectFactory<T>
Used for the trivial cases of the factory pattern. Has a generic type argument since 2.3.24.

Since:
  2.3.22

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `createObject()`

- ## Method Details

  - ### createObject

    T createObject() throws Exception
    Throws:
      `Exception`