Class BatikExtensionElementMapping

java.lang.Object
org.apache.fop.fo.ElementMapping
org.apache.fop.fo.extensions.svg.BatikExtensionElementMapping

public class BatikExtensionElementMapping extends ElementMapping
This Element Mapping is for Batik SVG Extension elements of the http://xml.apache.org/batik/ext namespace.
  • Field Details

    • URI

      public static final String URI
      Namespace URI for Batik extension elements
      See Also:
    • batikAvail

      private boolean batikAvail
  • Constructor Details

    • BatikExtensionElementMapping

      public BatikExtensionElementMapping()
      Main constructor.
  • Method Details

    • getDOMImplementation

      public DOMImplementation getDOMImplementation()
      Returns the DOMImplementation used by this ElementMapping. The value returned may be null for cases where no DOM is used to represent the element tree (XSL-FO, for example). This method is used by the intermediate format to instantiate the right kind of DOM document for foreign objects. For example, SVG handled through Apache Batik has to use a special DOMImplementation.
      Overrides:
      getDOMImplementation in class ElementMapping
      Returns:
      the DOMImplementation used by this ElementMapping, may be null
    • getAParserClassName

      private String getAParserClassName()
      Returns the fully qualified classname of an XML parser for Batik classes that apparently need it (error messages, perhaps)
      Returns:
      an XML parser classname
    • initialize

      protected void initialize()
      initialize mapping
      Specified by:
      initialize in class ElementMapping