com.xmlserv.app.shared
Class ImageText

java.lang.Object
  |
  +--com.xmlserv.app.shared.ImageText

public class ImageText
extends java.lang.Object

Format abstraction. The list of formats defined together with the subdirectory structure used to manage the different formats of a file on disk are accessible through this class.


Constructor Summary
ImageText()
           
ImageText(java.sql.Connection con, int image)
          Load the text associated with the given image.
 
Method Summary
 int getImage()
           
 java.lang.String getImagetext()
           
static void main(java.lang.String[] args)
           
 void save(java.sql.Connection con)
           
 void setImage(int image)
           
 void setImagetext(java.lang.String imagetext)
           
 org.jdom.Element toElement()
           
 org.jdom.Element toElement(boolean htmlText)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImageText

public ImageText()

ImageText

public ImageText(java.sql.Connection con,
                 int image)
          throws XMLServException
Load the text associated with the given image.
Method Detail

save

public void save(java.sql.Connection con)
          throws XMLServException

toElement

public org.jdom.Element toElement()
                           throws XMLServException

toElement

public org.jdom.Element toElement(boolean htmlText)
                           throws XMLServException

getImage

public int getImage()

setImage

public void setImage(int image)

getImagetext

public java.lang.String getImagetext()

setImagetext

public void setImagetext(java.lang.String imagetext)

main

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