comparison flys-artifacts/src/main/java/de/intevation/flys/themes/ThemeField.java @ 3814:8083f6384023

merged flys-artifacts/pre2.6-2012-01-04
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:56 +0200
parents b36fd8f21e6a
children
comparison
equal deleted inserted replaced
1491:2a00f4849738 3814:8083f6384023
1 package de.intevation.flys.themes;
2
3 import org.w3c.dom.Document;
4
5
6 /**
7 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
8 */
9 public interface ThemeField {
10
11 /**
12 * Returns the name of this field.
13 *
14 * @return the name of this field.
15 */
16 String getName();
17
18 /**
19 * Returns the type of this field.
20 *
21 * @return the type of this field.
22 */
23 String getType();
24
25
26 /**
27 * Returns the value of this field.
28 *
29 * @return the value of this field.
30 */
31 Object getValue();
32
33
34 /**
35 * Changes the value of this field.
36 *
37 * @param value The new value.
38 */
39 void setValue(Object value);
40
41
42 /**
43 * Sets the value of an attribute.
44 *
45 * @param name The name of an attribute.
46 * @param value The value of an attribute.
47 */
48 void setAttribute(String name, Object value);
49
50
51 /**
52 * Dumps the field to XML.
53 *
54 * @return a document.
55 */
56 Document toXML();
57 }
58 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org