Class CloneInlineImages


  • public class CloneInlineImages
    extends SVGCloneVisible
    Clone an SVG document, inlining temporary and in-memory linked images.
    Since:
    0.5.0
    Author:
    Erich Schubert
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.w3c.dom.Node cloneNode​(org.w3c.dom.Document doc, org.w3c.dom.Node eold)
      Clone an existing node.
      protected org.w3c.dom.Node inlineExternal​(org.w3c.dom.Document doc, org.apache.batik.util.ParsedURL urldata, org.w3c.dom.Node eold)
      Inline an external file (usually from temp).
      protected org.w3c.dom.Node inlineThumbnail​(org.w3c.dom.Document doc, org.apache.batik.util.ParsedURL urldata, org.w3c.dom.Node eold)
      Inline a referenced thumbnail.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CloneInlineImages

        public CloneInlineImages()
    • Method Detail

      • cloneNode

        public org.w3c.dom.Node cloneNode​(org.w3c.dom.Document doc,
                                          org.w3c.dom.Node eold)
        Description copied from class: DOMCloner
        Clone an existing node.
        Overrides:
        cloneNode in class SVGCloneVisible
        Parameters:
        doc - Document
        eold - Existing node
        Returns:
        Cloned node
      • inlineThumbnail

        protected org.w3c.dom.Node inlineThumbnail​(org.w3c.dom.Document doc,
                                                   org.apache.batik.util.ParsedURL urldata,
                                                   org.w3c.dom.Node eold)
        Inline a referenced thumbnail.
        Parameters:
        doc - Document (element factory)
        urldata - URL
        eold - Existing node
        Returns:
        Replacement node, or null
      • inlineExternal

        protected org.w3c.dom.Node inlineExternal​(org.w3c.dom.Document doc,
                                                  org.apache.batik.util.ParsedURL urldata,
                                                  org.w3c.dom.Node eold)
        Inline an external file (usually from temp).
        Parameters:
        doc - Document (element factory)
        urldata - URL
        eold - Existing node
        Returns:
        Replacement node, or null