org.jabber.jabberbeans.Extension
Class IQTimeBuilder

java.lang.Object
  |
  +--org.jabber.jabberbeans.Extension.IQTimeBuilder

public class IQTimeBuilder
extends java.lang.Object
implements ExtensionBuilder

An IQTimeBuilder is used to generate a jabber:iq:time namespace object.

Version:
$Revision: 1.1.1.1 $
Author:
David Waite <dwaite@jabber.com>, $Author: lucky $

Field Summary
private  java.lang.String display
          A textual description of the time which the client is located
private  java.lang.String time
          The time in GMT/UTC, in the ISO format (YYYYMMDDTHH:MM:SS
private  java.lang.String zone
          The zone which the remote party is located
 
Constructor Summary
IQTimeBuilder()
          Construct a new IQTimeBuilder object
 
Method Summary
 Extension build()
          Build an IQTime Extension based on the current builder state.
 java.lang.String getDisplay()
          get the textual display string
 java.lang.String getTime()
          get the time in GMT/UTC, in ISO format
 java.lang.String getZone()
          get the time zone
 void reset()
          reset this builder to a default state, for reuse
 void setDisplay(java.lang.String value)
          set the textual display string
 void setTime(java.lang.String value)
          set the time
 void setZone(java.lang.String value)
          set the time zone
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

time

private java.lang.String time
The time in GMT/UTC, in the ISO format (YYYYMMDDTHH:MM:SS

zone

private java.lang.String zone
The zone which the remote party is located

display

private java.lang.String display
A textual description of the time which the client is located
Constructor Detail

IQTimeBuilder

public IQTimeBuilder()
Construct a new IQTimeBuilder object
Method Detail

reset

public void reset()
reset this builder to a default state, for reuse
Specified by:
reset in interface ExtensionBuilder

getTime

public java.lang.String getTime()
get the time in GMT/UTC, in ISO format
Returns:
String holding time

setTime

public void setTime(java.lang.String value)
set the time
Parameters:
value - Time in GMT/UTC, in ISO format

getZone

public java.lang.String getZone()
get the time zone
Returns:
String holding time zone

setZone

public void setZone(java.lang.String value)
set the time zone
Parameters:
value - String holding time zone

getDisplay

public java.lang.String getDisplay()
get the textual display string
Returns:
String holding textual representation of the time

setDisplay

public void setDisplay(java.lang.String value)
set the textual display string
Parameters:
value - String holding textual representation of the time

build

public Extension build()
Build an IQTime Extension based on the current builder state.
Specified by:
build in interface ExtensionBuilder
Returns:
IQTime Extension based on the current builder state.