- toXML
Returns the textual XML representation of this packet.
- getFrom
Returns the XMPP address (JID) that the packet is from, or null if the "from"
attribute is not set.
- createCopy
Creates a deep copy of this packet.
- getElement
Returns the DOM4J Element that backs the packet. The element is the definitive
representation of the
- setError
Sets the packet error. Calling this method will automatically set the packet
"type" attribute to "er
- getID
Returns the packet ID, or null if the packet does not have an ID. Packet ID's
are optional, except f
- getTo
Returns the XMPP address (JID) that the packet is addressed to, or null if the
"to" attribute is not
- setFrom
Sets the XMPP address (JID) that the packet comes from. The XMPP protocol often
makes the "from" att
- setTo
Sets the XMPP address (JID) that the packet is address to. The XMPP protocol
often makes the "to" at
- toString