Struct minidom::convert::ElementEmitter
[−]
[src]
pub struct ElementEmitter<'a>(_);
A struct which is used for emitting Element
s and text nodes into an Element
without
exposing more functionality than necessary.
Methods
impl<'a> ElementEmitter<'a>
[src]
fn new(root: &'a mut Element) -> ElementEmitter<'a>
Creates a new ElementEmitter
.
fn append_child(&mut self, element: Element)
Appends an Element
to the target.
fn append_text_node(&mut self, text: String)
Appends a text node to the target.