|
Rakesh API | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Class Summary | |
|---|---|
| Album | A Java bean that represents one photo album entry in the photo albums XML file. |
| Image | A Java bean that represents an image in the photo images XML file. |
| Photo | A Java bean that represents a photo. |
| PhotoAlbum | Photo album implementation. |
| Exception Summary | |
|---|---|
| AlbumException | A custom exception that is used when any kind of exceptions are encountered when interacting with the JDOM package. |
An XML photo album implementation.
A photo album that uses an XML file conforming to the XML schema to store the photos. The photo album can contain multiple albums. Each album is comprised of a collection of photos, with each photo having two images - the full image and a thumbnail image.
The PhotoAlbum class uses JDOM to parse
the specified albums file, and creates the Album Java bean with their constituent beans
for easy access to the information in the photo album. 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 album. This
feature may be modified at a future date, to keep memory requirements
down.
|
Rakesh API | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||