public class ForwardedPacketExtension extends AbstractPacketExtension
Modifier and Type | Class and Description |
---|---|
static class |
ForwardedPacketExtension.Provider
Parses the forwarded XML element.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELEMENT_NAME
The name of the "forwarded" XML element.
|
static java.lang.String |
NAMESPACE
The namespace for the XML element.
|
attributes
Constructor and Description |
---|
ForwardedPacketExtension()
Constructs new ForwardedPacketExtension instance.
|
Modifier and Type | Method and Description |
---|---|
org.jivesoftware.smack.packet.Message |
getMessage()
Returns the Message instance.
|
void |
setMessage(org.jivesoftware.smack.packet.Message message)
Sets the Message instance to the forwarded extension.
|
addChildExtension, addPacket, clone, getAttribute, getAttributeAsInt, getAttributeAsInt, getAttributeAsString, getAttributeAsURI, getAttributeNames, getChildExtensions, getChildExtensionsOfType, getElementName, getFirstChildOfType, getNamespace, getPackets, getText, removeAttribute, setAttribute, setNamespace, setText, toXML
public static final java.lang.String NAMESPACE
public static final java.lang.String ELEMENT_NAME
public ForwardedPacketExtension()
public void setMessage(org.jivesoftware.smack.packet.Message message)
message
- the messagespublic org.jivesoftware.smack.packet.Message getMessage()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.