org.ops4j.pax.wicket.api
Interface PageFactory<T extends org.apache.wicket.Page>

All Known Implementing Classes:
AbstractPageFactory, DefaultPageFactory

public interface PageFactory<T extends org.apache.wicket.Page>

PageFactory instances are capable of providing bookmarkable web pages, as defined by Wicket.


Method Summary
 T createPage(org.apache.wicket.request.mapper.parameter.PageParameters params)
          Creates a page with the specified params.
 Class<T> getPageClass()
          Returns the page class instance represented by this PageFactory.
 

Method Detail

getPageClass

Class<T> getPageClass()
Returns the page class instance represented by this PageFactory.

Returns:
The page class represented by this PageFactory.
Since:
1.0.0

createPage

T createPage(org.apache.wicket.request.mapper.parameter.PageParameters params)
Creates a page with the specified params.

Parameters:
params - The page parameters.
Returns:
An instance of page.
Since:
1.0.0


Copyright © 2006-2012 OPS4J - Open Participation Software for Java. All Rights Reserved.