Class AbstractPDFExtensionElement

java.lang.Object
org.apache.fop.fo.FONode
org.apache.fop.render.pdf.extensions.AbstractPDFExtensionElement
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
PDFCollectionEntryElement, PDFEmbeddedFileElement

public abstract class AbstractPDFExtensionElement extends FONode
Base class for the PDF-specific extension elements.
  • Field Details

  • Constructor Details

    • AbstractPDFExtensionElement

      public AbstractPDFExtensionElement(FONode parent)
      Default constructor
      Parameters:
      parent - parent of this node
      See Also:
  • Method Details

    • getNamespaceURI

      public String getNamespaceURI()
      Returns the namespace URI for this node
      Overrides:
      getNamespaceURI in class FONode
      Returns:
      the namespace URI for this node
    • getNormalNamespacePrefix

      public String getNormalNamespacePrefix()
      Returns the normally used namespace prefix for this node
      Specified by:
      getNormalNamespacePrefix in class FONode
      Returns:
      the normally used namespace prefix for this kind of node (ex. "fo" for XSL-FO)
    • getExtensionAttachment

      public ExtensionAttachment getExtensionAttachment()
      Returns the extension attachment.
      Overrides:
      getExtensionAttachment in class FONode
      Returns:
      the extension attachment if one is created by the extension element, null otherwise.
      See Also:
    • instantiateExtensionAttachment

      protected ExtensionAttachment instantiateExtensionAttachment()
      Instantiates extension attachment object.
      Returns:
      extension attachment