01: package net.xoetrope.xui;
02:
03: /**
04: * An interface used by the XPageLoader to load pages
05: * <p>Copyright (c) Xoetrope Ltd., 2002-2003</p>
06: * <p>License: see license.txt</p>
07: * $Revision: 1.8 $
08: */
09: public interface XPageLoader {
10: /**
11: * Loads an XPage
12: * @param packageName the package or path to the page
13: * @param pageName the page name or the name of the class implementing the page
14: * @param include the page to be loaded is being included in another page
15: * @return the page
16: */
17: public XPage loadPage(String packageName, String pageName,
18: boolean include);
19:
20: /**
21: * Loads a frameset
22: * @param packageName the package or path to the page
23: * @param pageName the page name or the name of the class implementing the page
24: * @param pageDisplay the object that will display the pages and frameset
25: */
26: public void loadFrames(String packageName, String pageName,
27: XPageDisplay pageDisplay);
28:
29: /**
30: * Set the default package name to use for loading pages and components
31: * @param packageName the package or path to the page
32: */
33: public void setPackageName(String packageName);
34: }
|