|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.session.DefaultPageFactory
public final class DefaultPageFactory
A factory that constructs Pages.
ISessionSettings.setPageFactory(org.apache.wicket.IPageFactory)
,
IPageFactory
Constructor Summary | |
---|---|
DefaultPageFactory()
|
Method Summary | ||
---|---|---|
|
isBookmarkable(Class<C> pageClass)
Checks whether a page can be instantiated using a bookmarkable URL. |
|
|
newPage(Class<C> pageClass)
Creates a new page using a page class. |
|
|
newPage(Class<C> pageClass,
PageParameters parameters)
Creates a new Page, passing PageParameters to the Page constructor if such a constructor exists. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPageFactory()
Method Detail |
---|
public final <C extends IRequestablePage> Page newPage(Class<C> pageClass)
IPageFactory
newPage
in interface IPageFactory
pageClass
- The page class to instantiate
public final <C extends IRequestablePage> Page newPage(Class<C> pageClass, PageParameters parameters)
IPageFactory
newPage
in interface IPageFactory
pageClass
- The class of Page to createparameters
- Any parameters to pass to the Page's constructor
public <C extends IRequestablePage> boolean isBookmarkable(Class<C> pageClass)
IPageFactory
isBookmarkable
in interface IPageFactory
pageClass
- The class of page to check for bookmarkability
true
if the page can be instantiated by this IPageFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |