public abstract class OmemoDeviceListElement extends java.lang.Object implements ExtensionElement
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEVICE |
static java.lang.String |
ID |
static java.lang.String |
LIST |
| Constructor and Description |
|---|
OmemoDeviceListElement(java.util.Set<java.lang.Integer> deviceIds) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.Integer> |
copyDeviceIds() |
java.util.Set<java.lang.Integer> |
getDeviceIds() |
java.lang.String |
getElementName()
Returns the root element name.
|
java.lang.String |
toString() |
XmlStringBuilder |
toXML()
Returns the XML representation of this Element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamespacepublic static final java.lang.String DEVICE
public static final java.lang.String ID
public static final java.lang.String LIST
public OmemoDeviceListElement(java.util.Set<java.lang.Integer> deviceIds)
public java.util.Set<java.lang.Integer> getDeviceIds()
public java.util.Set<java.lang.Integer> copyDeviceIds()
public java.lang.String getElementName()
NamedElementgetElementName in interface NamedElementpublic final XmlStringBuilder toXML()
Elementpublic final java.lang.String toString()
toString in class java.lang.Object