Package elki.visualization.batikutil
Class CloneInlineImages
- java.lang.Object
-
- elki.utilities.xml.DOMCloner
-
- elki.visualization.svg.SVGCloneVisible
-
- elki.visualization.batikutil.CloneInlineImages
-
public class CloneInlineImages extends SVGCloneVisible
Clone an SVG document, inlining temporary and in-memory linked images.- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Constructor Summary
Constructors Constructor Description CloneInlineImages()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.w3c.dom.NodecloneNode(org.w3c.dom.Document doc, org.w3c.dom.Node eold)Clone an existing node.protected org.w3c.dom.NodeinlineExternal(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.NodeinlineThumbnail(org.w3c.dom.Document doc, org.apache.batik.util.ParsedURL urldata, org.w3c.dom.Node eold)Inline a referenced thumbnail.-
Methods inherited from class elki.utilities.xml.DOMCloner
cloneDocument, copyAttributes
-
-
-
-
Method Detail
-
cloneNode
public org.w3c.dom.Node cloneNode(org.w3c.dom.Document doc, org.w3c.dom.Node eold)Description copied from class:DOMClonerClone an existing node.- Overrides:
cloneNodein classSVGCloneVisible- Parameters:
doc- Documenteold- 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- URLeold- 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- URLeold- Existing node- Returns:
- Replacement node, or
null
-
-