- toXML
Returns the packet as XML. Every concrete extension of Packet must implement
this method. In additio
- getFrom
Returns who the packet is being sent "from" or null if the value is not set. The
XMPP protocol often
- getPacketID
Returns the unique ID of the packet. The returned value could be null when
ID_NOT_AVAILABLE was set
- getTo
Returns who the packet is being sent "to", or null if the value is not set. The
XMPP protocol often
- getExtension
Returns the first packet extension that matches the specified element name and
namespace, or null if
- getError
Returns the error associated with this packet, or null if there are no errors.
- getProperty
Returns the packet property with the specified name or null if the property
doesn't exist. Property
- getPropertyNames
Returns an Iterator for all the property names that are set.
- getExtensions
Return a set of all extensions with the given element name and namespace.
Changes to the returned s
- addExtension
Adds a packet extension to the packet.
- setTo
Sets who the packet is being sent "to". The XMPP protocol often makes the "to"
attribute optional, s
- equals