Uses of Class org.apache.fop.afp.Factory (Apache FOP Core 2.11 API)
Date: 2025-04-24

## Uses of Class
org.apache.fop.afp.Factory

- Packages that use Factory
  Package | Description
  --- | ---
  org.apache.fop.afp | Contains an AFP library.
  org.apache.fop.afp.ioca | Contains a collection of AFP Image Object Content Architecture (IOCA) structured objects.
  org.apache.fop.afp.modca | Contains a collection of AFP Mixed Object Document Content Architecture (MO:DCA) structured objects.

- - ### Uses of Factory in org.apache.fop.afp

    Constructors in org.apache.fop.afp with parameters of type Factory
    Constructor and Description
    `AFPDataObjectFactory(Factory factory)` Main constructor
    `AFPStreamer(Factory factory, InternalResourceResolver resourceResolver)` Main constructor
    `DataStream(Factory factory, AFPPaintingState paintingState, OutputStream outputStream)` Default constructor for the AFPDocumentStream.

  - ### Uses of Factory in org.apache.fop.afp.ioca

    Constructors in org.apache.fop.afp.ioca with parameters of type Factory
    Constructor and Description
    `ImageSegment(Factory factory, String name)` Constructor for the image segment with the specified name, the name must be a fixed length of eight characters.

  - ### Uses of Factory in org.apache.fop.afp.modca

    Fields in org.apache.fop.afp.modca declared as Factory
    Modifier and Type | Field and Description
    --- | ---
    `protected Factory` | AbstractPageObject.`factory` the object factory
    `protected Factory` | AbstractDataObject.`factory` the object factory

    Constructors in org.apache.fop.afp.modca with parameters of type Factory
    Constructor and Description
    `AbstractDataObject(Factory factory, String name)` Named constructor
    `AbstractPageObject(Factory factory)` Default constructor
    `AbstractPageObject(Factory factory, String name)` Main constructor
    `AbstractPageObject(Factory factory, String name, int width, int height, int rotation, int widthRes, int heightRes)` Construct a new page object for the specified name argument, the page name should be an 8 character identifier.
    `AbstractResourceEnvironmentGroupContainer(Factory factory, String name)` Main constructor
    `AbstractResourceGroupContainer(Factory factory)` Default constructor
    `AbstractResourceGroupContainer(Factory factory, String name)` Named constructor
    `AbstractResourceGroupContainer(Factory factory, String name, int width, int height, int rotation, int widthRes, int heightRes)` Construct a new page object for the specified name argument, the page name should be an 8 character identifier.
    `ActiveEnvironmentGroup(Factory factory, String name, int width, int height, int widthRes, int heightRes)` Constructor for the ActiveEnvironmentGroup, this takes a name parameter which must be 8 characters long.
    `Document(Factory factory, String name)` Constructor for the document object.
    `GraphicsObject(Factory factory, String name)` Default constructor
    `ImageObject(Factory factory, String name)` Constructor for the image object with the specified name, the name must be a fixed length of eight characters.
    `ObjectContainer(Factory factory, String name)` Main constructor
    `Overlay(Factory factory, String name, int width, int height, int rotation, int widthResolution, int heightResolution)` Construct a new overlay object for the specified name argument, the overlay name should be an 8 character identifier.
    `PageGroup(Factory factory, String name)` Constructor for the PageGroup.
    `PageObject(Factory factory, String name, int width, int height, int rotation, int widthRes, int heightRes)` Construct a new page object for the specified name argument, the page name should be an 8 character identifier.

Copyright © 2025 Apache Software Foundation. All rights reserved.