diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-08-05 01:36:17 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-08-05 01:36:17 +0200 |
commit | f8b4d5f338aede361c2562379d816b45f7bed3b8 (patch) | |
tree | 82ea92f7e35b94400e618387d8d522daeb62dc70 /src/eu/siacs/conversations/xml/Element.java | |
parent | 629ff3afcdba5e6721a1b63cd0d497d97e3bdbed (diff) |
publish avatars
Diffstat (limited to 'src/eu/siacs/conversations/xml/Element.java')
-rw-r--r-- | src/eu/siacs/conversations/xml/Element.java | 8 |
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); + } } |