Class ExtensionElementMapping


  • public class ExtensionElementMapping
    extends ElementMapping
    Element mapping for FOP's proprietary extension to XSL-FO.
    • Field Detail

      • URI

        public static final java.lang.String URI
        The FOP extension namespace URI
        See Also:
        Constant Field Values
      • STANDARD_PREFIX

        public static final java.lang.String STANDARD_PREFIX
        The standard XML prefix for elements and attributes in this namespace.
        See Also:
        Constant Field Values
      • PROPERTY_ATTRIBUTES

        private static final java.util.Set<java.lang.String> PROPERTY_ATTRIBUTES
    • Constructor Detail

      • ExtensionElementMapping

        public ExtensionElementMapping()
        Constructor.
    • Method Detail

      • initialize

        protected void initialize()
        Initialize the data structures.
        Specified by:
        initialize in class ElementMapping
      • getStandardPrefix

        public java.lang.String getStandardPrefix()
        Overrides:
        getStandardPrefix in class ElementMapping
        Returns:
        the standard namespace prefix for this namespace or null if it is not known.
      • isAttributeProperty

        public boolean isAttributeProperty​(org.apache.xmlgraphics.util.QName attributeName)
        Indicates whether a particular attribute of the namespace is a property, i.e. the attribute value should be converted to a property value.
        Overrides:
        isAttributeProperty in class ElementMapping
        Parameters:
        attributeName - the attribute name
        Returns:
        true if the attribute should be converted to a property