1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package com.sun.syndication.feed.synd;
18
19 import com.sun.syndication.common.ToString;
20
21 /***
22 * Bean interface for categories of SyndFeedImpl feeds and entries.
23 * <p>
24 * @author Alejandro Abdelnur
25 *
26 */
27 public interface SyndCategory extends ToString,Cloneable {
28 /***
29 * Returns the category name.
30 * <p>
31 * @return the category name, <b>null</b> if none.
32 *
33 */
34 String getName();
35
36 /***
37 * Sets the category name.
38 * <p>
39 * @param name the category name to set, <b>null</b> if none.
40 *
41 */
42 void setName(String name);
43
44 /***
45 * Returns the category taxonomy URI.
46 * <p>
47 * @return the category taxonomy URI, <b>null</b> if none.
48 *
49 */
50 String getTaxonomyUri();
51
52 /***
53 * Sets the category taxonomy URI.
54 * <p>
55 * @param taxonomyUri the category taxonomy URI to set, <b>null</b> if none.
56 *
57 */
58 void setTaxonomyUri(String taxonomyUri);
59
60 /***
61 * Creates a deep clone of the object.
62 * <p>
63 * @return a clone of the object.
64 * @throws CloneNotSupportedException thrown if an element of the object cannot be cloned.
65 *
66 */
67 public Object clone() throws CloneNotSupportedException;
68
69 }