org.apache.fop.fo.extensions.xmp

## Class XMPContentHandlerFactory

- java.lang.Object
- - org.apache.fop.fo.extensions.xmp.XMPContentHandlerFactory

- All Implemented Interfaces:
    ContentHandlerFactory

      public class XMPContentHandlerFactory
      extends Object
      implements ContentHandlerFactory

  ContentHandlerFactory for the XMP root element.

- - ### Nested Class Summary

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

      `ContentHandlerFactory.ObjectBuiltListener, ContentHandlerFactory.ObjectSource`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `XMPContentHandlerFactory()`

  - ### 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

    - #### XMPContentHandlerFactory

          public XMPContentHandlerFactory()

  - ### Method Detail

    - #### getSupportedNamespaces

          public String[] getSupportedNamespaces()

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

    - #### createContentHandler

          public ContentHandler createContentHandler()
                                              throws SAXException

      Specified by:
        `createContentHandler` in interface `ContentHandlerFactory`
      Returns:
        a new ContentHandler to handle a SAX stream
      Throws:
        `SAXException` - if there's an error while preparing the ContentHandler

Copyright © 2023 Apache Software Foundation. All rights reserved.