org.jivesoftware.smackx.receipts
Class DeliveryReceipt
java.lang.Object
org.jivesoftware.smackx.receipts.DeliveryReceipt
- All Implemented Interfaces:
- PacketExtension
public class DeliveryReceipt
- extends java.lang.Object
- implements PacketExtension
Represents a message delivery receipt entry as specified by
Message Delivery Receipts.
- Author:
- Georg Lukas
Method Summary |
java.lang.String |
getElementName()
Returns the root element name. |
java.lang.String |
getId()
|
java.lang.String |
getNamespace()
Returns the root element XML namespace. |
java.lang.String |
toXML()
Returns the XML representation of the PacketExtension. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAMESPACE
public static final java.lang.String NAMESPACE
- See Also:
- Constant Field Values
ELEMENT
public static final java.lang.String ELEMENT
- See Also:
- Constant Field Values
DeliveryReceipt
public DeliveryReceipt(java.lang.String id)
getId
public java.lang.String getId()
getElementName
public java.lang.String getElementName()
- Description copied from interface:
PacketExtension
- Returns the root element name.
- Specified by:
getElementName
in interface PacketExtension
- Returns:
- the element name.
getNamespace
public java.lang.String getNamespace()
- Description copied from interface:
PacketExtension
- Returns the root element XML namespace.
- Specified by:
getNamespace
in interface PacketExtension
- Returns:
- the namespace.
toXML
public java.lang.String toXML()
- Description copied from interface:
PacketExtension
- Returns the XML representation of the PacketExtension.
- Specified by:
toXML
in interface PacketExtension
- Returns:
- the packet extension as XML.
Copyright © 2003-2007 Jive Software.