com.myjavatools.xml
Class Rss.Image

java.lang.Object
  extended bycom.myjavatools.xml.BasicXmlData
      extended bycom.myjavatools.xml.Rss.Member
          extended bycom.myjavatools.xml.Rss.Image
All Implemented Interfaces:
XmlData
Enclosing class:
Rss

public static class Rss.Image
extends com.myjavatools.xml.Rss.Member

Image, Rss member class

Contains image data


Nested Class Summary
 
Nested classes inherited from class com.myjavatools.xml.BasicXmlData
BasicXmlData.Expression, BasicXmlData.Policy
 
Nested classes inherited from class com.myjavatools.xml.XmlData
XmlData.Condition
 
Field Summary
 
Fields inherited from class com.myjavatools.xml.BasicXmlData
XmlDataClass
 
Constructor Summary
Rss.Image(java.lang.String title, java.lang.String url, java.lang.String link)
          creates an instance of Image data class
Rss.Image(java.lang.String title, java.lang.String description, java.lang.String url, java.lang.String link, java.lang.String height, java.lang.String width)
          creates an instance of Image data class
Rss.Image(XmlData imageData)
          creates an instance of Image Rss data from source XmlData
 
Method Summary
 java.lang.String getDescription()
          gets member description
 java.lang.String getHeight()
          gets image height
 java.lang.String getLink()
          gets member link
 java.lang.String getName()
          gets member name
 java.lang.String getTitle()
          gets member title
 java.lang.String getUrl()
          gets member url
 java.lang.String getWidth()
          gets image width
 void setDescription(java.lang.String description)
          sets member description
 void setUrl(java.lang.String url)
          sets member url
 java.lang.String toString()
           
 
Methods inherited from class com.myjavatools.xml.BasicXmlData
addKid, addKids, addKids, cast, cast, castKids, castToPackage, castToPackage, cleanAttributes, clone, debug, deepCopy, equals, getAllKids, getAttribute, getAttribute, getAttributes, getId, getKid, getKid, getKid, getKid, getKidAttribute, getKidCount, getKids, getKidTypes, getKidValue, getType, getValue, getXmlContent, indexOf, insertKid, insertKid, removeKid, removeKids, replaceKid, satisfies, satisfies, save, save, save, selectTree, selectTree, setAttribute, setAttributes, setAttributes, setAttributes, setKidValue, setType, setValue, setXmlContent, trim
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Rss.Image

public Rss.Image(java.lang.String title,
                 java.lang.String url,
                 java.lang.String link)
creates an instance of Image data class

Parameters:
title - String image title
url - String image url
link - String image link

Rss.Image

public Rss.Image(java.lang.String title,
                 java.lang.String description,
                 java.lang.String url,
                 java.lang.String link,
                 java.lang.String height,
                 java.lang.String width)
creates an instance of Image data class

Parameters:
title - String image title
description - String image description
url - String image url
link - String image link
height - String image height
width - String image width

Rss.Image

public Rss.Image(XmlData imageData)
creates an instance of Image Rss data from source XmlData

Parameters:
imageData - XmlData containing
Method Detail

getHeight

public java.lang.String getHeight()
gets image height

Returns:
String height

getWidth

public java.lang.String getWidth()
gets image width

Returns:
String width

toString

public java.lang.String toString()

getDescription

public java.lang.String getDescription()
gets member description

Returns:
String

setDescription

public void setDescription(java.lang.String description)
sets member description

Parameters:
description - String

getName

public java.lang.String getName()
gets member name

Specified by:
getName in interface XmlData
Overrides:
getName in class BasicXmlData
Returns:
String name

getTitle

public java.lang.String getTitle()
gets member title

Returns:
String title

getUrl

public java.lang.String getUrl()
gets member url

Returns:
String url

setUrl

public void setUrl(java.lang.String url)
sets member url


getLink

public java.lang.String getLink()
gets member link

Returns:
String link