aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs/conversations/xml/Element.java
diff options
context:
space:
mode:
authoriNPUTmice <daniel@gultsch.de>2014-08-05 01:36:17 +0200
committeriNPUTmice <daniel@gultsch.de>2014-08-05 01:36:17 +0200
commitf8b4d5f338aede361c2562379d816b45f7bed3b8 (patch)
tree82ea92f7e35b94400e618387d8d522daeb62dc70 /src/eu/siacs/conversations/xml/Element.java
parent629ff3afcdba5e6721a1b63cd0d497d97e3bdbed (diff)
publish avatars
Diffstat (limited to 'src/eu/siacs/conversations/xml/Element.java')
-rw-r--r--src/eu/siacs/conversations/xml/Element.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/xml/Element.java b/src/eu/siacs/conversations/xml/Element.java
index f8e070f7..3d22ba6a 100644
--- a/src/eu/siacs/conversations/xml/Element.java
+++ b/src/eu/siacs/conversations/xml/Element.java
@@ -144,4 +144,12 @@ public class Element {
public void clearChildren() {
this.children.clear();
}
+
+ public void setAttribute(String name, long value) {
+ this.setAttribute(name, ""+value);
+ }
+
+ public void setAttribute(String name, int value) {
+ this.setAttribute(name, ""+value);
+ }
}