|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XPageLoader
An interface used by the XPageLoader to load pages
Copyright (c) Xoetrope Ltd., 2002-2003
License: see license.txt
$Revision: 2.4 $
| Method Summary | |
|---|---|
boolean |
loadFrames(java.lang.String packageName,
java.lang.String pageName,
XPageDisplay pageDisplay,
boolean useFrames)
Loads a frameset |
PageSupport |
loadPage(java.lang.String packageName,
java.lang.String pageName,
boolean include)
Loads an XPage |
PageSupport |
readPage(java.io.Reader reader,
java.lang.String pageName,
java.lang.String ext,
boolean include)
Read an XML description of the page and construct a new XPage. |
void |
setClassLoader(java.lang.ClassLoader cl)
Set a secondary classloader for loading the classes referenced by pages |
void |
setPackageName(java.lang.String packageName)
Set the default package name to use for loading pages and components |
void |
setPage(PageSupport p)
Set the current page |
| Method Detail |
|---|
PageSupport loadPage(java.lang.String packageName,
java.lang.String pageName,
boolean include)
packageName - the package or path to the pagepageName - the page name or the name of the class implementing the pageinclude - the page to be loaded is being included in another page
boolean loadFrames(java.lang.String packageName,
java.lang.String pageName,
XPageDisplay pageDisplay,
boolean useFrames)
packageName - the package or path to the pagepageName - the page name or the name of the class implementing the pagepageDisplay - the object that will display the pages and framesetuseFrames - true to setup the frameset or false to add just a single target area
void setPackageName(java.lang.String packageName)
packageName - the package or path to the pagevoid setClassLoader(java.lang.ClassLoader cl)
cl - the class loadervoid setPage(PageSupport p)
p - the page object
PageSupport readPage(java.io.Reader reader,
java.lang.String pageName,
java.lang.String ext,
boolean include)
reader - a input stream from which to read the pagepageName - the name of the pageext - the file extensioninclude - the page to be loaded is being included in another page
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||