Class UserTuneElement
java.lang.Object
org.jivesoftware.smackx.usertune.element.UserTuneElement
- All Implemented Interfaces:
Element
,ExtensionElement
,NamedElement
,XmlElement
,XmlLangElement
ExtensionElement
that contains the UserTune. Instance of UserTuneElement can be created using
UserTuneElement.Builder.build()
method.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
This class defines a Builder class forUserTuneElement
. -
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final UserTuneElement
static final String
static final QName
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static UserTuneElement
static UserTuneElement.Builder
Returns a new instance ofUserTuneElement.Builder
.Returns the root element name.Returns the root element XML namespace.getTitle()
getTrack()
getUri()
int
hashCode()
static boolean
hasUserTuneElement
(Message message) toXML
(XmlEnvironment xmlEnvironment) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
NAMESPACE
- See Also:
-
ELEMENT
- See Also:
-
QNAME
-
EMPTY_USER_TUNE
-
-
Method Details
-
getNamespace
Description copied from interface:XmlElement
Returns the root element XML namespace.- Specified by:
getNamespace
in interfaceXmlElement
- Returns:
- the namespace.
-
getElementName
Description copied from interface:NamedElement
Returns the root element name.- Specified by:
getElementName
in interfaceNamedElement
- Returns:
- the element name.
-
getArtist
-
getLength
-
getRating
-
getSource
-
getTitle
-
getTrack
-
getUri
-
toXML
-
hasUserTuneElement
-
from
-
hashCode
-
equals
-
getBuilder
Returns a new instance ofUserTuneElement.Builder
.- Returns:
- Builder
-