01: /* Binable.java
02:
03: {{IS_NOTE
04:
05: Purpose:
06: Description:
07: History:
08: 2001/10/21 21:27:23, Create, Tom M. Yeh.
09: }}IS_NOTE
10:
11: Copyright (C) 2001 Potix Corporation. All Rights Reserved.
12:
13: {{IS_RIGHT
14: This program is distributed under GPL Version 2.0 in the hope that
15: it will be useful, but WITHOUT ANY WARRANTY.
16: }}IS_RIGHT
17: */
18: package org.zkoss.idom;
19:
20: /**
21: * Represent a class that allows any type of objects, not just String.
22: * It is usually implemented by a class that also implements Item.
23: * Currently, only Binary implements it.
24: *
25: * @author tomyeh
26: * @see Item
27: * @see Group
28: * @see Attributable
29: * @see Namespaceable
30: */
31: public interface Binable {
32: /**
33: * Gets the value of a item that accepts any type as its value.
34: */
35: public Object getValue();
36:
37: /**
38: * Sets the value of a item that accepts any type as its value.
39: */
40: public void setValue(Object value);
41: }
|