Smack

org.jivesoftware.smackx.packet
Interface PrivateData

All Known Implementing Classes:
Bookmarks, DefaultPrivateData

public interface PrivateData

Interface to represent private data. Each private data chunk is an XML sub-document with a root element name and namespace.

Author:
Matt Tucker
See Also:
PrivateDataManager

Method Summary
 String getElementName()
          Returns the root element name.
 String getNamespace()
          Returns the root element XML namespace.
 String toXML()
          Returns the XML reppresentation of the PrivateData.
 

Method Detail

getElementName

String getElementName()
Returns the root element name.

Returns:
the element name.

getNamespace

String getNamespace()
Returns the root element XML namespace.

Returns:
the namespace.

toXML

String toXML()
Returns the XML reppresentation of the PrivateData.

Returns:
the private data as XML.

Smack

Copyright © 2003-2007 Jive Software.