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
Nested ClassesModifier and TypeClassDescriptionstatic final classThis class defines a Builder class forUserTuneElement. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final UserTuneElementstatic final Stringstatic final QName -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic UserTuneElementstatic UserTuneElement.BuilderReturns a new instance ofUserTuneElement.Builder.Returns the root element name.Returns the root element XML namespace.getTitle()getTrack()getUri()inthashCode()static booleanhasUserTuneElement(Message message) toXML(XmlEnvironment xmlEnvironment) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods 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:XmlElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-
getElementName
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein 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
-