org.jabber.jabberbeans.Extension
Class IQTimeBuilder

java.lang.Object
  |
  +--org.jabber.jabberbeans.Extension.IQTimeBuilder
All Implemented Interfaces:
ExtensionBuilder

public class IQTimeBuilder
extends java.lang.Object
implements ExtensionBuilder

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


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, toString, wait, wait, wait
 

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.