Class PageRenderLinkSourceImpl
java.lang.Object
org.apache.tapestry5.internal.services.PageRenderLinkSourceImpl
- All Implemented Interfaces:
PageRenderLinkSource
-
Constructor Summary
ConstructorsConstructorDescriptionPageRenderLinkSourceImpl
(LinkSource linkSource, ComponentClassResolver resolver) -
Method Summary
Modifier and TypeMethodDescriptioncreatePageRenderLink
(Class pageClass) Creates a page render link using the page's class to identify the target page, and using the pages normal passivation context (if it has one).createPageRenderLink
(String pageName) Creates a page render link using the page's normal passivation context (if it has one).createPageRenderLinkWithContext
(Class pageClass, Object... context) Creates a page render link using the page's class to identify the target page, and using an override of the page's passivation context (possibly an empty one).createPageRenderLinkWithContext
(Class pageClass, EventContext eventContext) Creates a page render link using the page's class to identify the target page, and using an override of the page's passivation contextcreatePageRenderLinkWithContext
(String pageName, Object... context) Creates a page render link using an override of the page's passivation context (possibly an empty one).createPageRenderLinkWithContext
(String pageName, EventContext eventContext) Creates a page render link using an override of the page's passivation context.
-
Constructor Details
-
PageRenderLinkSourceImpl
-
-
Method Details
-
createPageRenderLink
Description copied from interface:PageRenderLinkSource
Creates a page render link using the page's class to identify the target page, and using the pages normal passivation context (if it has one).- Specified by:
createPageRenderLink
in interfacePageRenderLinkSource
- Returns:
- render link for the page
-
createPageRenderLink
Description copied from interface:PageRenderLinkSource
Creates a page render link using the page's normal passivation context (if it has one).- Specified by:
createPageRenderLink
in interfacePageRenderLinkSource
- Parameters:
pageName
- name of page to create link to- Returns:
- render link for the page
-
createPageRenderLinkWithContext
Description copied from interface:PageRenderLinkSource
Creates a page render link using the page's class to identify the target page, and using an override of the page's passivation context (possibly an empty one).- Specified by:
createPageRenderLinkWithContext
in interfacePageRenderLinkSource
context
- zero or more values to encode as the passiviation context- Returns:
- render link for the page
-
createPageRenderLinkWithContext
Description copied from interface:PageRenderLinkSource
Creates a page render link using the page's class to identify the target page, and using an override of the page's passivation context- Specified by:
createPageRenderLinkWithContext
in interfacePageRenderLinkSource
eventContext
- the EventContext to encode as the passiviation context- Returns:
- render link for the page
-
createPageRenderLinkWithContext
Description copied from interface:PageRenderLinkSource
Creates a page render link using an override of the page's passivation context (possibly an empty one).- Specified by:
createPageRenderLinkWithContext
in interfacePageRenderLinkSource
- Parameters:
pageName
- name of page to create link tocontext
- zero or more values to encode as the passiviation context- Returns:
- render link for the page
-
createPageRenderLinkWithContext
Description copied from interface:PageRenderLinkSource
Creates a page render link using an override of the page's passivation context.- Specified by:
createPageRenderLinkWithContext
in interfacePageRenderLinkSource
- Parameters:
pageName
- name of page to create link toeventContext
- the EventContext to encode as the passiviation context- Returns:
- render link for the page
-