Class ThumbnailElement
java.lang.Object
org.jivesoftware.smackx.thumbnails.element.ThumbnailElement
- All Implemented Interfaces:
Element,ExtensionElement,NamedElement,XmlElement,XmlLangElement
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionThumbnailElement(String uri) ThumbnailElement(String uri, String mediaType, Integer width, Integer height) -
Method Summary
Modifier and TypeMethodDescriptionReturns the root element name.Returns the root element XML namespace.getUri()getWidth()toXML(XmlEnvironment xmlEnvironment) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jivesoftware.smack.packet.XmlElement
getLanguage, getQName
-
Field Details
-
ELEMENT
- See Also:
-
NAMESPACE
- See Also:
-
ELEM_URI
- See Also:
-
ELEM_MEDIA_TYPE
- See Also:
-
ELEM_WIDTH
- See Also:
-
ELEM_HEIGHT
- See Also:
-
-
Constructor Details
-
ThumbnailElement
-
ThumbnailElement
-
-
Method Details
-
getUri
-
getMediaType
-
getWidth
-
getHeight
-
toXML
-
getElementName
Description copied from interface:NamedElementReturns the root element name.- Specified by:
getElementNamein interfaceNamedElement- Returns:
- the element name.
-
getNamespace
Description copied from interface:XmlElementReturns the root element XML namespace.- Specified by:
getNamespacein interfaceXmlElement- Returns:
- the namespace.
-