public class DefaultMapperContext extends Object implements IMapperContext
| Constructor and Description |
|---|
DefaultMapperContext()
Constructor.
|
DefaultMapperContext(Application application)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBookmarkableIdentifier() |
Class<? extends IRequestablePage> |
getHomePageClass()
Returns the home page class.
|
String |
getNamespace() |
String |
getPageIdentifier() |
IRequestablePage |
getPageInstance(int pageId)
Returns existing page instance if the page exists.
|
String |
getResourceIdentifier() |
ResourceReferenceRegistry |
getResourceReferenceRegistry() |
IRequestablePage |
newPageInstance(Class<? extends IRequestablePage> pageClass,
org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
Creates new page instance of page with given class.
|
public DefaultMapperContext()
public DefaultMapperContext(Application application)
application - the application instance to usepublic String getBookmarkableIdentifier()
getBookmarkableIdentifier in interface IMapperContextpublic String getNamespace()
getNamespace in interface IMapperContextpublic String getPageIdentifier()
getPageIdentifier in interface IMapperContextpublic String getResourceIdentifier()
getResourceIdentifier in interface IMapperContextpublic ResourceReferenceRegistry getResourceReferenceRegistry()
getResourceReferenceRegistry in interface IMapperContextResourceReferenceRegistrypublic IRequestablePage newPageInstance(Class<? extends IRequestablePage> pageClass, org.apache.wicket.request.mapper.parameter.PageParameters pageParameters)
IPageSourceIRequestablePage.wasCreatedBookmarkable() must
return truenewPageInstance in interface IPageSourcepublic IRequestablePage getPageInstance(int pageId)
IPageSourcegetPageInstance in interface IPageSourcenull if the page does not exist.public Class<? extends IRequestablePage> getHomePageClass()
IMapperContextgetHomePageClass in interface IMapperContextCopyright © 2006–2018 Apache Software Foundation. All rights reserved.