Class AFPPageSegmentElement

  • All Implemented Interfaces:
    java.lang.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.

    • Field Detail

      • ATT_RESOURCE_SRC

        private static final java.lang.String ATT_RESOURCE_SRC
        See Also:
        Constant Field Values
    • Constructor Detail

      • AFPPageSegmentElement

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

      • processNode

        public void processNode​(java.lang.String elementName,
                                org.xml.sax.Locator locator,
                                org.xml.sax.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