Interface IMapperContext
-
- All Superinterfaces:
IPageSource
- All Known Implementing Classes:
DefaultMapperContext
public interface IMapperContext extends IPageSource
Utility interface for providing and creating new page instances. This interface is used also to define which segments are reserved for internal use (see methodsgetNamespace()
,getPageIdentifier()
,getBookmarkableIdentifier()
andgetResourceIdentifier()
).- Author:
- Matej Knopp
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBookmarkableIdentifier()
Class<? extends IRequestablePage>
getHomePageClass()
Returns the home page class.String
getNamespace()
String
getPageIdentifier()
String
getResourceIdentifier()
ResourceReferenceRegistry
getResourceReferenceRegistry()
-
Methods inherited from interface org.apache.wicket.core.request.mapper.IPageSource
getPageInstance, newPageInstance
-
-
-
-
Method Detail
-
getNamespace
String getNamespace()
- Returns:
- the namespace for Wicket URLs.
-
getPageIdentifier
String getPageIdentifier()
- Returns:
- identifier for non bookmarkable URLs
-
getBookmarkableIdentifier
String getBookmarkableIdentifier()
- Returns:
- identifier for bookmarkable URLs
-
getResourceIdentifier
String getResourceIdentifier()
- Returns:
- identifier for resources
-
getResourceReferenceRegistry
ResourceReferenceRegistry getResourceReferenceRegistry()
- Returns:
ResourceReferenceRegistry
-
getHomePageClass
Class<? extends IRequestablePage> getHomePageClass()
Returns the home page class.- Returns:
- home page class
-
-