Class AbstractMetadataElement

    • Constructor Detail

      • AbstractMetadataElement

        public AbstractMetadataElement​(FONode parent)
        Main constructor.
        Parameters:
        parent - the parent formatting object
    • Method Detail

      • getContentHandlerFactory

        public ContentHandlerFactory getContentHandlerFactory()
        This method is overridden by extension elements and allows the extension element to return a ContentHandlerFactory. This factory can create ContentHandler implementations that handle foreign XML content by either building up a specific DOM, a Java object or something else.
        Overrides:
        getContentHandlerFactory in class FONode
        Returns:
        the ContentHandlerFactory or null if not applicable
      • getExtensionAttachment

        public ExtensionAttachment getExtensionAttachment()
        This method is overridden by extension elements and allows the extension element to return a pass-through attachment which the parent formatting objects should simply carry with them but otherwise ignore. This mechanism is used to pass non-standard information from the FO tree through to the layout engine and the renderers.
        Overrides:
        getExtensionAttachment in class FONode
        Returns:
        the extension attachment if one is created by the extension element, null otherwise.