com.myjavatools.xml
Class Rss.Image

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

public static class Rss.Image
extends Rss.Member

Image, Rss member class

Contains image data


Nested Class Summary
 
Nested classes/interfaces inherited from class com.myjavatools.xml.BasicXmlData
BasicXmlData.Expression, BasicXmlData.Function<X,Y>, BasicXmlData.Policy
 
Nested classes/interfaces inherited from interface 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 getHeight()
          gets image height
 java.lang.String getWidth()
          gets image width
protected  void setup()
           
 java.lang.String toString()
           
 
Methods inherited from class com.myjavatools.xml.Rss.Member
addElement, getDescription, getLink, getName, getTitle, getUrl, setDescription, setElement, setLink, setUrl
 
Methods inherited from class com.myjavatools.xml.BasicXmlData
addKid, addKids, addKids, cast, cast, castKids, castToPackage, castToPackage, cleanAttributes, clone, debug, deepCopy, equal, equals, getAllKids, getAttribute, getAttribute, getAttributes, getId, getInputStream, getKid, getKid, getKid, getKid, getKidAttribute, getKidCount, getKids, getKidTypes, getKidValue, getType, getValue, getXmlContent, hashCode, indexOf, insertKid, insertKid, removeKid, removeKids, replaceKid, satisfies, satisfies, save, save, save, selectTree, selectTree, setAttribute, setAttributes, setAttributes, setAttributes, setKidAttribute, setKids, setKidValue, setType, setValue, setXmlContent, trim
 
Methods inherited from class java.lang.Object
finalize, getClass, 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

setup

protected void setup()

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()
Overrides:
toString in class java.lang.Object