org.stringer.rss
Class RSSImage

java.lang.Object
  |
  +--org.stringer.rss.RSSElement
        |
        +--org.stringer.rss.RSSImage
All Implemented Interfaces:
java.io.Serializable

public class RSSImage
extends RSSElement
implements java.io.Serializable

An image is a sub-element of channel, which contains three required and three optional sub-elements. ELEMENT image (title | url | link | width? | height? | description?)

Author:
R. Kevin Cole kcole@users.sourceforge.net
See Also:
Serialized Form

Field Summary
(package private)  int height
          the height of the image in pixels
(package private) static org.apache.log4j.Logger logger
           
protected  java.lang.String url
           
(package private)  int width
          the width of the image in pixels
 
Fields inherited from class org.stringer.rss.RSSElement
description, lastUpdateTime, link, linkURL, title, userObject
 
Constructor Summary
RSSImage(nu.xom.Element element, java.lang.String namespaceUri)
           
 
Method Summary
 int getHeight()
           
 java.lang.String getURL()
           
 int getWidth()
           
 java.lang.String toXML()
           
 
Methods inherited from class org.stringer.rss.RSSElement
buildId, decodeStringerElement, dump, getDescription, getId, getLastUpdateTime, getLink, getLinkAsURL, getTitle, getUserObject, makeId, setDescription, setLastUpdateTime, setLink, setTitle, setUserObject, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

static org.apache.log4j.Logger logger

width

int width
the width of the image in pixels


height

int height
the height of the image in pixels


url

protected java.lang.String url
Constructor Detail

RSSImage

public RSSImage(nu.xom.Element element,
                java.lang.String namespaceUri)
Method Detail

getURL

public java.lang.String getURL()

getWidth

public int getWidth()

getHeight

public int getHeight()

toXML

public java.lang.String toXML()


Copyright © R. Kevin Cole. All Rights Reserved.