1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package org.onemind.commons.java.xml.digest;
22
23 /***
24 * An creator digester is a digester that digests an element in xml and
25 * creates an element object as represented by xml. It provides a mechanism
26 * for xml element digestion implementation outside of the element object itself.
27 *
28 * @author TiongHiang Lee (thlee@onemindsoft.org)
29 * @version $Id: ElementCreatorDigester.java,v 1.1 2005/01/30 06:30:53 thlee Exp $ $Name: $
30 */
31 public interface ElementCreatorDigester extends ElementDigester
32 {
33
34 /***
35 * Add listener
36 * @param l the listener
37 */
38 public abstract void addListener(ElementListener l);
39
40 /***
41 * Remove listener
42 * @param l the listener
43 */
44 public abstract void removeListener(ElementListener l);
45
46 /***
47 * Get the created object
48 * @return the created object
49 */
50 public abstract Object getCreatedElement();
51 }