|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jivesoftware.smackx.packet.PEPItem
@Deprecated public abstract class PEPItem
Represents XMPP Personal Event Protocol packets.
The 'http://jabber.org/protocol/pubsub#event' namespace is used to publish personal events items from one client to subscribed clients (See XEP-163).
| Constructor Summary | |
|---|---|
PEPItem(java.lang.String id)
Deprecated. Creates a new PEPItem. |
|
| Method Summary | |
|---|---|
java.lang.String |
getElementName()
Deprecated. Returns the XML element name of the extension sub-packet root element. |
java.lang.String |
getNamespace()
Deprecated. Returns the XML namespace of the extension sub-packet root element. |
java.lang.String |
toXML()
Deprecated. Returns the XML representation of a Personal Event Publish according the specification. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PEPItem(java.lang.String id)
| Method Detail |
|---|
public java.lang.String getElementName()
getElementName in interface PacketExtensionpublic java.lang.String getNamespace()
getNamespace in interface PacketExtensionpublic java.lang.String toXML()
<message id="MlIpV-4" to="gato1@gato.home" from="gato3@gato.home/Smack">
<subject>Any subject you want</subject>
<body>This message contains roster items.</body>
<x xmlns="jabber:x:roster">
<item jid="gato1@gato.home"/>
<item jid="gato2@gato.home"/>
</x>
</message>
toXML in interface PacketExtension
|
Smack | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||