Package elki.visualization.batikutil
Class NodeAppendChild
- java.lang.Object
-
- elki.visualization.batikutil.NodeAppendChild
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
NodeReplaceAllChildren
public class NodeAppendChild extends java.lang.Object implements java.lang.Runnable
Runnable wrapper for appending XML-Elements to existing Elements.- Since:
- 0.3
- Author:
- Remigius Wojdanowski
-
-
Constructor Summary
Constructors Constructor Description NodeAppendChild(org.w3c.dom.Element parent, org.w3c.dom.Element child)
Trivial constructor.NodeAppendChild(org.w3c.dom.Element parent, org.w3c.dom.Element child, SVGPlot plot, java.lang.String id)
Full constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
-
-
Field Detail
-
parent
protected org.w3c.dom.Element parent
Parent node to append to.
-
child
protected org.w3c.dom.Element child
The child to be appended.
-
plot
protected SVGPlot plot
The plot (for ID updates). May benull
.
-
id
protected java.lang.String id
The ID. May be {code null}.
-
-
Constructor Detail
-
NodeAppendChild
public NodeAppendChild(org.w3c.dom.Element parent, org.w3c.dom.Element child)
Trivial constructor.- Parameters:
parent
- will become the parent of the appended Element.child
- the Element to be appended.
-
NodeAppendChild
public NodeAppendChild(org.w3c.dom.Element parent, org.w3c.dom.Element child, SVGPlot plot, java.lang.String id)
Full constructor.- Parameters:
parent
- Parent node to append the child tochild
- Child elementplot
- Plot to register the ID (may benull
)id
- ID to register (may benull
, requires plot to be given)
-
-