Class AFPPageSegmentElement

All Implemented Interfaces:
Cloneable

public class AFPPageSegmentElement extends AFPPageSetupElement
This class extends the org.apache.fop.extensions.ExtensionObj class. The object faciliates extraction of elements from formatted objects based on the static list as defined in the AFPElementMapping implementation.

  • Constructor Details

    • AFPPageSegmentElement

      public AFPPageSegmentElement(FONode parent, String name)
      Constructs an AFP object (called by Maker).
      Parameters:
      parent - the parent formatting object
      name - the name of the afp element
  • Method Details

    • processNode

      public void processNode(String elementName, Locator locator, Attributes attlist, PropertyList propertyList) throws FOPException
      Initialize the node with its name, location information, and attributes The attributes must be used immediately as the sax attributes will be altered for the next element.
      Overrides:
      processNode in class AFPPageSetupElement
      Parameters:
      elementName - element name (e.g., "fo:block")
      locator - Locator object (ignored by default)
      attlist - Collection of attributes passed to us from the parser.
      propertyList - the property list of the parent node
      Throws:
      FOPException - for errors or inconsistencies in the attributes
    • instantiateExtensionAttachment

      protected ExtensionAttachment instantiateExtensionAttachment()
      Instantiates extension attachment object
      Overrides:
      instantiateExtensionAttachment in class AFPPageSetupElement
      Returns:
      extension attachment