Package org.jivesoftware.smack.sm.packet
Class StreamManagement.Enabled
- java.lang.Object
-
- org.jivesoftware.smack.sm.packet.StreamManagement.Enabled
-
- All Implemented Interfaces:
Element
,FullyQualifiedElement
,NamedElement
,Nonza
,TopLevelStreamElement
,XmlLangElement
- Enclosing class:
- StreamManagement
public static class StreamManagement.Enabled extends java.lang.Object
A Stream Management 'enabled' element.Here is a full example, all attributes besides 'xmlns' are optional.
<enabled xmlns='urn:xmpp:sm:3' id='some-long-sm-id' location='[2001:41D0:1:A49b::1]:9222' resume='true'/>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELEMENT
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getElementName()
Returns the root element name.java.lang.String
getId()
java.lang.String
getLocation()
java.lang.CharSequence
toXML(XmlEnvironment enclosingNamespace)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jivesoftware.smack.packet.FullyQualifiedElement
getLanguage, getQName
-
-
-
-
Field Detail
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
-
getLocation
public java.lang.String getLocation()
-
toXML
public java.lang.CharSequence toXML(XmlEnvironment enclosingNamespace)
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Returns:
- the element name.
-
-