org.apache.commons.digester.rss
Class Image
java.lang.Object
|
+--org.apache.commons.digester.rss.Image
- public class Image
- extends java.lang.Object
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.2 $ $Date: 2002/01/09 20:22:50 $
- Author:
- Craig R. McClanahan
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()
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
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).
Image
public Image()
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-2002 - Apache Software Foundation