01: /*
02: * GeoTools - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2002-2006, GeoTools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation;
09: * version 2.1 of the License.
10: *
11: * This library is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: */
16: package org.geotools.styling;
17:
18: import org.geotools.event.GTComponent;
19:
20: /**
21: * An Extent gives feature/coverage/raster/matrix dimension extent.
22: *
23: * <p>
24: * <pre>
25: * <code>
26: * <xsd:element name="Extent">
27: * <xsd:annotation>
28: * <xsd:documentation> An Extent gives
29: * feature/coverage/raster/matrix dimension extent. </xsd:documentation>
30: * </xsd:annotation>
31: * <xsd:complexType>
32: * <xsd:sequence>
33: * <xsd:element ref="sld:Name"/>
34: * <xsd:element ref="sld:Value"/>
35: * </xsd:sequence>
36: * </xsd:complexType>
37: * </xsd:element>
38: * </code>
39: * </pre>
40: * </p>
41: *
42: * @author Justin Deoliveira, The Open Planning Project
43: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/library/api/src/main/java/org/geotools/styling/Extent.java $
44: */
45: public interface Extent extends GTComponent {
46: /**
47: * DOCUMENT ME!
48: *
49: * @return The name of the extent.
50: */
51: String getName();
52:
53: /**
54: * DOCUMENT ME!
55: *
56: * @param name Thw new name of the extent.
57: */
58: void setName(String name);
59:
60: /**
61: * DOCUMENT ME!
62: *
63: * @return The value of the exent.
64: */
65: String getValue();
66:
67: /**
68: * DOCUMENT ME!
69: *
70: * @param value The new value of the exent.
71: */
72: void setValue(String value);
73: }
|