aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/xml/Element.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/eu/siacs/conversations/xml/Element.java')
-rw-r--r--src/eu/siacs/conversations/xml/Element.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/xml/Element.java b/src/eu/siacs/conversations/xml/Element.java
index 2f1d7ad8c..ce1d10ce1 100644
--- a/src/eu/siacs/conversations/xml/Element.java
+++ b/src/eu/siacs/conversations/xml/Element.java
@@ -139,4 +139,8 @@ public class Element {
content = content.replace("'","'");
return content;
}
+
+ public void clearChildren() {
+ this.children.clear();
+ }
}