Class AFPExtensionAttachment

java.lang.Object
org.apache.fop.render.afp.extensions.AFPExtensionAttachment
All Implemented Interfaces:
Serializable, ExtensionAttachment, org.apache.xmlgraphics.util.XMLizable
Direct Known Subclasses:
AFPIncludeFormMap, AFPInvokeMediumMap, AFPPageOverlay, AFPPageSetup

public abstract class AFPExtensionAttachment extends Object implements ExtensionAttachment, Serializable, org.apache.xmlgraphics.util.XMLizable
This is the pass-through value object for the AFP extension.
See Also:
  • Field Details

    • CATEGORY

      public static final String CATEGORY
      The category URI for this extension attachment.
      See Also:
    • ATT_NAME

      protected static final String ATT_NAME
      name attribute
      See Also:
    • elementName

      protected String elementName
      the extension element name
    • name

      protected String name
      the extension name attribute
  • Constructor Details

    • AFPExtensionAttachment

      public AFPExtensionAttachment(String elementName)
      Default constructor.
      Parameters:
      elementName - the name of the afp extension attachment, may be null
  • Method Details

    • getElementName

      public String getElementName()
      Returns:
      the name
    • hasName

      protected boolean hasName()
      Returns:
      true if this element has a name attribute
    • getName

      public String getName()
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the name of the setup code object.
      Parameters:
      name - The name to set.
    • getCategory

      public String getCategory()
      This method returns a category URI that allows a processor (layout manager or renderer) to determine if it supports this object.
      Specified by:
      getCategory in interface ExtensionAttachment
      Returns:
      the category URI