comparison flys-artifacts/src/main/java/de/intevation/flys/themes/ThemeField.java @ 3468:f37e7e8907cb

merged flys-artifacts/2.8.1
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:14:39 +0200
parents b36fd8f21e6a
children
comparison
equal deleted inserted replaced
3387:5ffad8bde8ad 3468:f37e7e8907cb
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