DEFAULT_LANGUAGE, ID_NOT_AVAILABLE
Constructor and Description |
---|
PEPPubSub(PEPItem item)
Creates a new PubSub.
|
Modifier and Type | Method and Description |
---|---|
String |
getChildElementXML()
Returns the XML representation of a Personal Event Publish according the specification.
|
String |
getElementName()
Returns the XML element name of the extension sub-packet root element.
|
String |
getNamespace()
Returns the XML namespace of the extension sub-packet root element.
|
createErrorResponse, createResultIQ, getType, setType, toXML
addCommonAttributes, addExtension, addExtensions, equals, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getTo, getXmlns, hashCode, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setTo, toString
public String getElementName()
public String getNamespace()
public String getChildElementXML()
<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>
getChildElementXML
in class IQ