Class PrivateDataManager


  • public final class PrivateDataManager
    extends Manager
    Manages private data, which is a mechanism to allow users to store arbitrary XML data on an XMPP server. Each private data chunk is defined by a element name and XML namespace. Example private data:
     <color xmlns="http://example.com/xmpp/color">
         <favorite>blue</blue>
         <leastFavorite>puce</leastFavorite>
     </color>
     
    PrivateDataProvider instances are responsible for translating the XML into objects. If no PrivateDataProvider is registered for a given element name and namespace, then a DefaultPrivateData instance will be returned.

    Warning: this is an non-standard protocol documented by XEP-49. Because this is a non-standard protocol, it is subject to change.