public class DeliveryReceiptRequest extends Object implements PacketExtension
| Modifier and Type | Class and Description |
|---|---|
static class |
DeliveryReceiptRequest.Provider
This Provider parses and returns DeliveryReceiptRequest packets.
|
| Constructor and Description |
|---|
DeliveryReceiptRequest() |
| Modifier and Type | Method and Description |
|---|---|
String |
getElementName()
Returns the root element name.
|
static DeliveryReceiptRequest |
getFrom(Packet p)
Get the
DeliveryReceiptRequest extension of the packet, if any. |
String |
getNamespace()
Returns the root element XML namespace.
|
String |
toXML()
Returns the XML representation of the PacketExtension.
|
public static final String ELEMENT
public DeliveryReceiptRequest()
public String getElementName()
PacketExtensiongetElementName in interface PacketExtensionpublic String getNamespace()
PacketExtensiongetNamespace in interface PacketExtensionpublic String toXML()
PacketExtensiontoXML in interface PacketExtensionpublic static DeliveryReceiptRequest getFrom(Packet p)
DeliveryReceiptRequest extension of the packet, if any.p - the packetDeliveryReceiptRequest extension or null