01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2005-2006, GeoTools Project Managment Committee (PMC)
05: * (C) 2005, Refractions Research Inc.
06: *
07: * This library is free software; you can redistribute it and/or
08: * modify it under the terms of the GNU Lesser General Public
09: * License as published by the Free Software Foundation;
10: * version 2.1 of the License.
11: *
12: * This library is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15: * Lesser General Public License for more details.
16: */
17: package org.geotools.catalog;
18:
19: import java.net.URI;
20:
21: /**
22: * Represents a bean style metadata accessor for metadata about a catalog. This
23: * may be the result of a request to a metadata service. All methods within an
24: * implementation of this interface should NOT block. Much of this is based on
25: * Dublin Core and the RDF application profile.
26: *
27: * @author David Zwiers, Refractions Research
28: * @author Justin Deoliveira, The Open Planning Project
29: *
30: * @since 0.6
31: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/library/api/src/main/java/org/geotools/catalog/CatalogInfo.java $
32: */
33: public interface CatalogInfo {
34: /**
35: * returns the catalog title May Not Block.
36: *
37: */
38: String getTitle();
39:
40: /**
41: * returns the keywords assocaited with this catalog May Not Block. Maps to
42: * Dublin Core's Subject element
43: *
44: */
45: String[] getKeywords();
46:
47: /**
48: * returns the catalog description.
49: *
50: */
51: String getDescription();
52:
53: /**
54: * Returns the catalog source. May Not Block. Maps to the Dublin Core
55: * Server Element
56: *
57: */
58: URI getSource();
59: }
|