public class DeliveryReceiptRequest extends java.lang.Object implements ExtensionElement
| Modifier and Type | Class and Description |
|---|---|
static class |
DeliveryReceiptRequest.Provider
This Provider parses and returns DeliveryReceiptRequest packets.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELEMENT |
| Constructor and Description |
|---|
DeliveryReceiptRequest() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
addTo(Message message)
Add a delivery receipt request to an outgoing packet.
|
static DeliveryReceiptRequest |
from(Stanza packet)
Get the
DeliveryReceiptRequest extension of the packet, if any. |
java.lang.String |
getElementName()
Returns the root element name.
|
static DeliveryReceiptRequest |
getFrom(Stanza p)
Deprecated.
use
from(Stanza) instead |
java.lang.String |
getNamespace()
Returns the root element XML namespace.
|
java.lang.String |
toXML()
Returns the XML representation of this Element.
|
public static final java.lang.String ELEMENT
public DeliveryReceiptRequest()
public java.lang.String getElementName()
NamedElementgetElementName in interface NamedElementpublic java.lang.String getNamespace()
ExtensionElementgetNamespace in interface ExtensionElementpublic java.lang.String toXML()
Element@Deprecated public static DeliveryReceiptRequest getFrom(Stanza p)
from(Stanza) insteadDeliveryReceiptRequest extension of the packet, if any.p - the packetDeliveryReceiptRequest extension or nullpublic static DeliveryReceiptRequest from(Stanza packet)
DeliveryReceiptRequest extension of the packet, if any.packet - the packetDeliveryReceiptRequest extension or nullpublic static java.lang.String addTo(Message message)
message - Message object to add a request to