org.jabber.jabberbeans.Extension
Class XDelay

java.lang.Object
  |
  +--org.jabber.jabberbeans.XMLData
        |
        +--org.jabber.jabberbeans.Extension.XDelay
All Implemented Interfaces:
Extension, MessageExtension, PresenceExtension, java.io.Serializable

public class XDelay
extends XMLData
implements PresenceExtension, MessageExtension

A XDelay extension handles jabber:x:delay packets. These are used to represent any type of delay in the path of a message or presence packet - for instance, from messages sent offline, or messages sent through transports from a third-party system.

See Also:
Serialized Form

Constructor Summary
XDelay(XDelayBuilder builder)
           
 
Method Summary
 void appendItem(java.lang.StringBuffer retval)
          appendItem appends the XML representation of the current packet data to the specified StringBuffer.
 java.lang.String getContent()
           
 JID getFromAddress()
           
 java.lang.String getStamp()
           
 
Methods inherited from class org.jabber.jabberbeans.XMLData
appendAttrib, appendAttrib, appendChild, appendChild, escapeString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jabber.jabberbeans.Extension.Extension
toString
 

Constructor Detail

XDelay

public XDelay(XDelayBuilder builder)
Method Detail

getFromAddress

public JID getFromAddress()

getStamp

public java.lang.String getStamp()

getContent

public java.lang.String getContent()

appendItem

public void appendItem(java.lang.StringBuffer retval)
Description copied from class: XMLData
appendItem appends the XML representation of the current packet data to the specified StringBuffer.

Specified by:
appendItem in interface Extension
Specified by:
appendItem in class XMLData
Parameters:
retval - The StringBuffer to append to