Class BoBDataExtension
- java.lang.Object
-
- org.jivesoftware.smackx.bob.element.BoBDataExtension
-
- All Implemented Interfaces:
Element,ExtensionElement,FullyQualifiedElement,NamedElement,XmlLangElement
public class BoBDataExtension extends java.lang.Object implements ExtensionElement
Bits of Binary data extension element.- See Also:
- XEP-0231: Bits of Binary
-
-
Constructor Summary
Constructors Constructor Description BoBDataExtension(ContentId cid, BoBData bobData)Bits of Binary data extension constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BoBDataExtensionfrom(StanzaView stanza)BoBDatagetBobData()Get the Bits of Binary (BOB) data.ContentIdgetContentId()Get the content ID.java.lang.StringgetElementName()Returns the root element name.java.lang.StringgetNamespace()Returns the root element XML namespace.XmlStringBuildertoXML(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
-
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BoBDataExtension
public BoBDataExtension(ContentId cid, BoBData bobData)
Bits of Binary data extension constructor.- Parameters:
cid- TODO javadoc me pleasebobData- TODO javadoc me please
-
-
Method Detail
-
getElementName
public java.lang.String getElementName()
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
public java.lang.String getNamespace()
Description copied from interface:FullyQualifiedElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceFullyQualifiedElement- Returns:
- the namespace.
-
getContentId
public final ContentId getContentId()
Get the content ID.- Returns:
- the content ID.
- Since:
- 4.4.1
-
getBobData
public final BoBData getBobData()
Get the Bits of Binary (BOB) data.- Returns:
- the BoB data.
- Since:
- 4.4.1
-
toXML
public XmlStringBuilder toXML(XmlEnvironment enclosingNamespace)
-
from
public static BoBDataExtension from(StanzaView stanza)
-
-