01: //$Id: RSSSequenceElement.java,v 1.5 2004/03/25 10:09:10 taganaka Exp $
02: package org.gnu.stealthp.rsslib;
03:
04: /**
05: * RSSSequenceElement's definitions class.
06: *
07: * <blockquote>
08: * <em>This module, both source code and documentation, is in the
09: * Public Domain, and comes with <strong>NO WARRANTY</strong>.</em>
10: * </blockquote>
11: *
12: * @since RSSLIB4J 0.1
13: * @author Francesco aka 'Stealthp' stealthp[@]stealthp.org
14: * @version 0.2
15: */
16:
17: public class RSSSequenceElement {
18: private String resource;
19:
20: /**
21: * Set the sequence element resource
22: * @param res resource
23: */
24: public void setResource(String res) {
25: resource = res;
26: }
27:
28: /**
29: * Get the resource
30: * @return the resource
31: */
32: public String getResource() {
33: return resource;
34: }
35:
36: /**
37: * For debug
38: * @return an informational string
39: */
40: public String toString() {
41: String info = "ELEMENT RESOURCE: " + resource;
42: return info;
43: }
44:
45: }
|