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 java.lang.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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `org.xml.sax.ContentHandler` | `createContentHandler()`
    `java.lang.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 java.lang.String[] getSupportedNamespaces()

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

    - #### createContentHandler

          public org.xml.sax.ContentHandler createContentHandler()
                                                          throws org.xml.sax.SAXException

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

Copyright 1999-2019 The Apache Software Foundation. All Rights Reserved.