Class AFPElementMapping


  • public class AFPElementMapping
    extends ElementMapping
    AFPElementMapping object provides the ability to extract information from the formatted object that reside in the afp namespace. This is used for custom AFP extensions not supported by the FO schema. Examples include adding overlays or indexing a document using the tag logical element structured field.

    • Field Detail

      • TAG_LOGICAL_ELEMENT

        public static final java.lang.String TAG_LOGICAL_ELEMENT
        tag logical element
        See Also:
        Constant Field Values
      • INCLUDE_PAGE_OVERLAY

        public static final java.lang.String INCLUDE_PAGE_OVERLAY
        include page overlay element
        See Also:
        Constant Field Values
      • INCLUDE_PAGE_SEGMENT

        public static final java.lang.String INCLUDE_PAGE_SEGMENT
        include page segment element
        See Also:
        Constant Field Values
      • INCLUDE_FORM_MAP

        public static final java.lang.String INCLUDE_FORM_MAP
        include form map element
        See Also:
        Constant Field Values
      • INVOKE_MEDIUM_MAP

        public static final java.lang.String INVOKE_MEDIUM_MAP
        IMM: Invoke Medium Map (on fo:page-sequence)
        See Also:
        Constant Field Values
      • NAMESPACE

        public static final java.lang.String NAMESPACE
        The namespace used for AFP extensions
        See Also:
        Constant Field Values
      • NAMESPACE_PREFIX

        public static final java.lang.String NAMESPACE_PREFIX
        The usual namespace prefix used for AFP extensions
        See Also:
        Constant Field Values
    • Constructor Detail

      • AFPElementMapping

        public AFPElementMapping()
        Main constructor
    • Method Detail

      • initialize

        protected void initialize()
        Private static synchronized method to set up the element and attribute HashMaps, this defines what elements and attributes are extracted.
        Specified by:
        initialize in class ElementMapping