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 BoBDataExtension
from(StanzaView stanza)
BoBData
getBobData()
Get the Bits of Binary (BOB) data.ContentId
getContentId()
Get the content ID.java.lang.String
getElementName()
Returns the root element name.java.lang.String
getNamespace()
Returns the root element XML namespace.XmlStringBuilder
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
-
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:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
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.
-
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)
-
-