AFPExtensionHandlerFactory (Apache FOP Core 2.11 API)
Date: 2025-04-24

org.apache.fop.render.afp.extensions

## Class AFPExtensionHandlerFactory

- java.lang.Object
- - org.apache.fop.render.afp.extensions.AFPExtensionHandlerFactory

- All Implemented Interfaces:
    ContentHandlerFactory

      public class AFPExtensionHandlerFactory
      extends Object
      implements ContentHandlerFactory

  Factory for the ContentHandler that handles serialized AFPPageSetup instances.

- - ### Nested Class Summary

    - ### Nested classes/interfaces inherited from interface org.apache.fop.util.ContentHandlerFactory

      `ContentHandlerFactory.ObjectBuiltListener, ContentHandlerFactory.ObjectSource`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AFPExtensionHandlerFactory()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ContentHandler` | `createContentHandler()`
    `String[]` | `getSupportedNamespaces()`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### AFPExtensionHandlerFactory

          public AFPExtensionHandlerFactory()

  - ### Method Detail

    - #### getSupportedNamespaces

          public String[] getSupportedNamespaces()

      Specified by:
        `getSupportedNamespaces` in interface `ContentHandlerFactory`
      Returns:
        an array of supported namespaces.

    - #### createContentHandler

          public ContentHandler createContentHandler()

      Specified by:
        `createContentHandler` in interface `ContentHandlerFactory`
      Returns:
        a new ContentHandler to handle a SAX stream

Copyright © 2025 Apache Software Foundation. All rights reserved.