com.xmlserv.app.gallery
Class Gallery

java.lang.Object
  |
  +--com.xmlserv.app.gallery.Gallery

public class Gallery
extends java.lang.Object

Representation of a gallery i.e. virtual directory of images.


Constructor Summary
Gallery(int contentgroup)
          Create a new Gallery object showing the given contentgroup.
 
Method Summary
static void main(java.lang.String[] args)
           
 org.jdom.Element toElement(java.sql.Connection con)
          list all images for this contentgroup ordered by ordering and filename and return a JDOM Element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gallery

public Gallery(int contentgroup)
Create a new Gallery object showing the given contentgroup.
Method Detail

toElement

public org.jdom.Element toElement(java.sql.Connection con)
                           throws XMLServException
list all images for this contentgroup ordered by ordering and filename and return a JDOM Element.
Parameters:
con - The DB connection
Returns:
An Element containing the list of Image Elements.

main

public static void main(java.lang.String[] args)