Class AvatarMetadata
- java.lang.Object
-
- rocks.xmpp.extensions.avatar.model.metadata.AvatarMetadata
-
public final class AvatarMetadata extends Object
The implementation of the<metadata/>
element in theurn:xmpp:avatar:metadata
namespace.This class is immutable.
- See Also:
- XEP-0084: User Avatar, XML Schema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AvatarMetadata.Info
The implementation of the<info/>
element in theurn:xmpp:avatar:metadata
namespace.
-
Constructor Summary
Constructors Constructor Description AvatarMetadata(Object pointer, AvatarMetadata.Info... info)
AvatarMetadata(AvatarMetadata.Info... info)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AvatarMetadata.Info>
getInfoList()
Gets the info list.Object
getPointer()
Specifies information about how to retrieve the avatar from a third party service.
-
-
-
Field Detail
-
NAMESPACE
public static final String NAMESPACE
urn:xmpp:avatar:metadata- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AvatarMetadata
public AvatarMetadata(AvatarMetadata.Info... info)
- Parameters:
info
- The info elements.
-
AvatarMetadata
public AvatarMetadata(Object pointer, AvatarMetadata.Info... info)
- Parameters:
pointer
- The pointer object. Note that it must be known to the JAXB context.info
- The info elements.
-
-
Method Detail
-
getInfoList
public final List<AvatarMetadata.Info> getInfoList()
Gets the info list.- Returns:
- The info list.
-
getPointer
public final Object getPointer()
Specifies information about how to retrieve the avatar from a third party service.- Returns:
- The pointer object.
- See Also:
- 4.2.2 Pointer Element
-
-