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()
PacketExtension
getElementName
in interface PacketExtension
public String getNamespace()
PacketExtension
getNamespace
in interface PacketExtension
public String toXML()
PacketExtension
toXML
in interface PacketExtension
public static DeliveryReceiptRequest getFrom(Packet p)
DeliveryReceiptRequest
extension of the packet, if any.p
- the packetDeliveryReceiptRequest
extension or null