01: /* UiFactory.java
02:
03: {{IS_NOTE
04: Purpose:
05:
06: Description:
07:
08: History:
09: Tue May 15 09:14:58 2007, Created by henrichen
10: }}IS_NOTE
11:
12: Copyright (C) 2007 Potix Corporation. All Rights Reserved.
13:
14: {{IS_RIGHT
15: This program is distributed under GPL Version 2.0 in the hope that
16: it will be useful, but WITHOUT ANY WARRANTY.
17: }}IS_RIGHT
18: */
19: package org.zkoss.zkmob;
20:
21: import org.xml.sax.Attributes;
22:
23: /**
24: * UiFactory responsible for create a specific component.
25: *
26: * @author henrichen
27: *
28: */
29: public interface UiFactory {
30: /**
31: * create a component.
32: *
33: * @param parent the parent component
34: * @param tag the tag name
35: * @param attrs the attribute
36: * @param hostURL the host URL
37: */
38: public ZkComponent create(ZkComponent parent, String tag,
39: Attributes attrs, String hostURL, String pathURL);
40: }
|