org.apache.commons.digester.rss
Class Image

java.lang.Object
  |
  +--org.apache.commons.digester.rss.Image
All Implemented Interfaces:
java.io.Serializable

public class Image
extends java.lang.Object
implements java.io.Serializable

Implementation object representing an image in the Rich Site Summary DTD, version 0.91. This class may be subclassed to further specialize its behavior.

Version:
$Revision: 1.5 $ $Date: 2003/04/16 11:23:51 $
Author:
Craig R. McClanahan
See Also:
Serialized Form

Field Summary
protected  java.lang.String description
          The image description (1-100 characters).
protected  int height
          The image height in pixels (1-400).
protected  java.lang.String link
          The image link (1-500 characters).
protected  java.lang.String title
          The image alternate text (1-100 characters).
protected  java.lang.String url
          The image location URL (1-500 characters).
protected  int width
          The image width in pixels (1-400).
 
Constructor Summary
Image()
           
 
Method Summary
 java.lang.String getDescription()
           
 int getHeight()
           
 java.lang.String getLink()
           
 java.lang.String getTitle()
           
 java.lang.String getURL()
           
 int getWidth()
           
(package private)  void render(java.io.PrintWriter writer)
          Render this channel as XML conforming to the RSS 0.91 specification, to the specified writer.
 void setDescription(java.lang.String description)
           
 void setHeight(int height)
           
 void setLink(java.lang.String link)
           
 void setTitle(java.lang.String title)
           
 void setURL(java.lang.String url)
           
 void setWidth(int width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected java.lang.String description
The image description (1-100 characters).


height

protected int height
The image height in pixels (1-400).


link

protected java.lang.String link
The image link (1-500 characters).


title

protected java.lang.String title
The image alternate text (1-100 characters).


url

protected java.lang.String url
The image location URL (1-500 characters).


width

protected int width
The image width in pixels (1-400).

Constructor Detail

Image

public Image()
Method Detail

getDescription

public java.lang.String getDescription()

setDescription

public void setDescription(java.lang.String description)

getHeight

public int getHeight()

setHeight

public void setHeight(int height)

getLink

public java.lang.String getLink()

setLink

public void setLink(java.lang.String link)

getTitle

public java.lang.String getTitle()

setTitle

public void setTitle(java.lang.String title)

getURL

public java.lang.String getURL()

setURL

public void setURL(java.lang.String url)

getWidth

public int getWidth()

setWidth

public void setWidth(int width)

render

void render(java.io.PrintWriter writer)
Render this channel as XML conforming to the RSS 0.91 specification, to the specified writer.

Parameters:
writer - The writer to render output to


Copyright (c) 2001-2003 - Apache Software Foundation