View Javadoc

1   /*
2    * Copyright 2004 Sun Microsystems, Inc.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   */
17  package com.sun.syndication.feed.module;
18  
19  import com.sun.syndication.common.ToString;
20  import com.sun.syndication.common.CopyFrom;
21  
22  /***
23   * Subject of the Dublin Core Module.
24   * <p>
25   * @see <a href="http://web.resource.org/rss/1.0/modules/dc/">Dublin Core module</a>.
26   * @author Alejandro Abdelnur
27   *
28   */
29  public interface DCSubjectI extends ToString,Cloneable,CopyFrom {
30      /***
31       * Returns the DublinCore subject taxonomy URI.
32       * <p>
33       * @return the DublinCore subject taxonomy URI, <b>null</b> if none.
34       *
35       */
36      String getTaxonomyUri();
37  
38      /***
39       * Sets the DublinCore subject taxonomy URI.
40       * <p>
41       * @param taxonomyUri the DublinCore subject taxonomy URI to set, <b>null</b> if none.
42       *
43       */
44      void setTaxonomyUri(String taxonomyUri);
45  
46      /***
47       * Returns the DublinCore subject value.
48       * <p>
49       * @return the DublinCore subject value, <b>null</b> if none.
50       *
51       */
52      String getValue();
53  
54      /***
55       * Sets the DublinCore subject value.
56       * <p>
57       * @param value the DublinCore subject value to set, <b>null</b> if none.
58       *
59       */
60      void setValue(String value);
61  
62      /***
63       * Creates a deep clone of the object.
64       * <p>
65       * @return a clone of the object.
66       * @throws CloneNotSupportedException thrown if an element of the object cannot be cloned.
67       *
68       */
69      public Object clone() throws CloneNotSupportedException;
70  
71  }