1 19 20 package org.jperdian.rss2.dom; 21 22 import java.io.Serializable ; 23 import java.net.URL ; 24 25 30 31 public class RssImage implements Serializable { 32 33 private String myTitle = ""; 34 private String myDescription = ""; 35 private URL myURL = null; 36 private URL myLink = null; 37 private int myWidth = RssConstants.DEFAULT_IMAGE_WIDTH; 38 private int myHeight = RssConstants.DEFAULT_IMAGE_HEIGHT; 39 40 41 45 public int getHeight() { 46 return this.myHeight; 47 } 48 49 public void setHeight(int height) { 50 this.myHeight = height; 51 } 52 53 public URL getLink() { 54 return this.myLink; 55 } 56 57 public void setLink(URL link) { 58 this.myLink = link; 59 } 60 61 public String getTitle() { 62 return this.myTitle; 63 } 64 65 public void setTitle(String title) { 66 this.myTitle = title; 67 } 68 69 public URL getURL() { 70 return this.myURL; 71 } 72 73 public void setURL(URL url) { 74 this.myURL = url; 75 } 76 77 public int getWidth() { 78 return this.myWidth; 79 } 80 81 public void setWidth(int width) { 82 this.myWidth = width; 83 } 84 85 public String getDescription() { 86 return this.myDescription; 87 } 88 89 public void setDescription(String description) { 90 this.myDescription = description; 91 } 92 93 } | Popular Tags |