Rakesh API

Package org.rakeshv.xml.addressbook

An XML address book implementation.

See:
          Description

Class Summary
Address A bean that represents a postal address.
AddressBook Address book implementation.
Group A bean that represents a email group entry in the address book XML file.
Member A bean that represents a member of an email group in the address book XML file.
Person A bean that represents a person in the address book.
 

Exception Summary
AddressException A custom exception that is used when any kind of exceptions are encountered when interacting with the JDOM package.
 

Package org.rakeshv.xml.addressbook Description

An XML address book implementation.

An address book that uses an XML file conforming to the XML schema to store an address book. The address book can contain person entries as well as group entries. The group entries are useful only as email groups. The person entry is more generic, and can be used to store regular personal contact information.

The AddressBook class uses JDOM to parse the specified address book file, and creates the Person and Group Java beans with their constituent beans for easy access to the information in the address book. The JDOM tree is kept active at all times, for ease of making modifications to the underlying XML file, when changes are affected to the address book. This feature may be modified at a future date, to keep memory requirements down.


Rakesh API

Copyright © 2002-2005 - Rakesh Vidyadharan