Class FallbackIndicationElement
- java.lang.Object
-
- org.jivesoftware.smackx.fallback_indication.element.FallbackIndicationElement
-
- All Implemented Interfaces:
Element
,ExtensionElement
,FullyQualifiedElement
,NamedElement
,XmlLangElement
public class FallbackIndicationElement extends java.lang.Object implements ExtensionElement
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELEMENT
static FallbackIndicationElement
INSTANCE
static java.lang.String
NAMESPACE
-
Constructor Summary
Constructors Constructor Description FallbackIndicationElement()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FallbackIndicationElement
fromMessage(Message message)
java.lang.String
getElementName()
Returns the root element name.java.lang.String
getNamespace()
Returns the root element XML namespace.static boolean
hasFallbackIndication(Message message)
XmlStringBuilder
toXML(XmlEnvironment xmlEnvironment)
-
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
-
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
-
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
-
INSTANCE
public static final FallbackIndicationElement INSTANCE
-
-
Constructor Detail
-
FallbackIndicationElement
public FallbackIndicationElement()
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:FullyQualifiedElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceFullyQualifiedElement
- Returns:
- the namespace.
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
toXML
public XmlStringBuilder toXML(XmlEnvironment xmlEnvironment)
-
hasFallbackIndication
public static boolean hasFallbackIndication(Message message)
-
fromMessage
public static FallbackIndicationElement fromMessage(Message message)
-
-