com.thirtyboxes.api
Class IM

java.lang.Object
  extended by com.thirtyboxes.api.IM

public class IM
extends java.lang.Object

Represents an Instant Messaging identity that a user has registered with 30 Boxes. The user may have 0-to-many IMs.

Version:
1.0
Author:
keith@kludge.co.uk
See Also:
User.getIMs()

Constructor Summary
protected IM(org.w3c.dom.Node imNode)
          XML Node constructor.
 
Method Summary
 java.lang.String getType()
          The type (or name) of this IM service.
 java.lang.String getUserName()
          Returns the username the user uses with this service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IM

protected IM(org.w3c.dom.Node imNode)
XML Node constructor. Creates the IM object from xml (returned as part of a User object).

Parameters:
imNode - The parsed XML node.
Method Detail

getType

public java.lang.String getType()
The type (or name) of this IM service.

Returns:
The type of this service.

getUserName

public java.lang.String getUserName()
Returns the username the user uses with this service.

Returns:
The user's username.