fi.hut.tml.xsmiles.comm.implementation.sip
Class SipAddressBook

java.lang.Object
  extended byfi.hut.tml.xsmiles.comm.implementation.general.events.CommEventSenderBase
      extended byfi.hut.tml.xsmiles.comm.implementation.general.XMLAddressBook
          extended byfi.hut.tml.xsmiles.comm.implementation.sip.SipAddressBook
All Implemented Interfaces:
AddressBook, CommEventSender

public class SipAddressBook
extends XMLAddressBook

Author:
Sami Sundell xsmiles / fi.hut.tml.xsmiles.comm.implementation.sip, 10.12.2004

Field Summary
 
Fields inherited from class fi.hut.tml.xsmiles.comm.implementation.general.XMLAddressBook
contacts
 
Constructor Summary
SipAddressBook()
           
 
Method Summary
protected  void addContact(org.w3c.dom.Element user)
          The addContact method takes a contact element from the XML format address book as a parameter, extracts attributes from it and stores them into a SipUser object.
 
Methods inherited from class fi.hut.tml.xsmiles.comm.implementation.general.XMLAddressBook
entryCount, getContacts, loadAddressBook, saveAddressBook, searchInfo
 
Methods inherited from class fi.hut.tml.xsmiles.comm.implementation.general.events.CommEventSenderBase
addEventListener, dispatchEvent, removeEventListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface fi.hut.tml.xsmiles.comm.events.CommEventSender
addEventListener, dispatchEvent, removeEventListener
 

Constructor Detail

SipAddressBook

public SipAddressBook()
Method Detail

addContact

protected void addContact(org.w3c.dom.Element user)
The addContact method takes a contact element from the XML format address book as a parameter, extracts attributes from it and stores them into a SipUser object. This object is then stored into contacts Hashtable, using address as a key.

Specified by:
addContact in class XMLAddressBook


X-Smiles 1.2