01: /*
02: * Copyright 2004 Sun Microsystems, Inc.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
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.feed.CopyFrom;
20: import java.io.Serializable;
21:
22: /**
23: * Base class for modules describing Metadata of feeds. Examples of such modules are
24: * the Dublin Core and Syndication modules.
25: * <p>
26: * @author Alejandro Abdelnur
27: *
28: */
29: public interface Module extends Cloneable, CopyFrom, Serializable {
30:
31: /**
32: * Returns the URI of the module.
33: * <p>
34: * @return URI of the module.
35: *
36: */
37: String getUri();
38:
39: /**
40: * Creates a deep clone of the object.
41: * <p>
42: * @return a clone of the object.
43: * @throws CloneNotSupportedException thrown if an element of the object cannot be cloned.
44: *
45: */
46: public Object clone() throws CloneNotSupportedException;
47:
48: }
|