Class PageRenderLinkSourceImpl
- java.lang.Object
 - 
- org.apache.tapestry5.internal.services.PageRenderLinkSourceImpl
 
 
- 
- All Implemented Interfaces:
 PageRenderLinkSource
public class PageRenderLinkSourceImpl extends Object implements PageRenderLinkSource
 
- 
- 
Constructor Summary
Constructors Constructor Description PageRenderLinkSourceImpl(LinkSource linkSource, ComponentClassResolver resolver) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkcreatePageRenderLink(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).LinkcreatePageRenderLink(String pageName)Creates a page render link using the page's normal passivation context (if it has one).LinkcreatePageRenderLinkWithContext(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).LinkcreatePageRenderLinkWithContext(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 contextLinkcreatePageRenderLinkWithContext(String pageName, Object... context)Creates a page render link using an override of the page's passivation context (possibly an empty one).LinkcreatePageRenderLinkWithContext(String pageName, EventContext eventContext)Creates a page render link using an override of the page's passivation context. 
 - 
 
- 
- 
Constructor Detail
- 
PageRenderLinkSourceImpl
public PageRenderLinkSourceImpl(LinkSource linkSource, ComponentClassResolver resolver)
 
 - 
 
- 
Method Detail
- 
createPageRenderLink
public Link createPageRenderLink(Class pageClass)
Description copied from interface:PageRenderLinkSourceCreates 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:
 createPageRenderLinkin interfacePageRenderLinkSource- Returns:
 - render link for the page
 
 
- 
createPageRenderLink
public Link createPageRenderLink(String pageName)
Description copied from interface:PageRenderLinkSourceCreates a page render link using the page's normal passivation context (if it has one).- Specified by:
 createPageRenderLinkin interfacePageRenderLinkSource- Parameters:
 pageName- name of page to create link to- Returns:
 - render link for the page
 
 
- 
createPageRenderLinkWithContext
public Link createPageRenderLinkWithContext(Class pageClass, Object... context)
Description copied from interface:PageRenderLinkSourceCreates 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:
 createPageRenderLinkWithContextin interfacePageRenderLinkSourcecontext- zero or more values to encode as the passiviation context- Returns:
 - render link for the page
 
 
- 
createPageRenderLinkWithContext
public Link createPageRenderLinkWithContext(Class pageClass, EventContext eventContext)
Description copied from interface:PageRenderLinkSourceCreates 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:
 createPageRenderLinkWithContextin interfacePageRenderLinkSourceeventContext- the EventContext to encode as the passiviation context- Returns:
 - render link for the page
 
 
- 
createPageRenderLinkWithContext
public Link createPageRenderLinkWithContext(String pageName, Object... context)
Description copied from interface:PageRenderLinkSourceCreates a page render link using an override of the page's passivation context (possibly an empty one).- Specified by:
 createPageRenderLinkWithContextin 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
public Link createPageRenderLinkWithContext(String pageName, EventContext eventContext)
Description copied from interface:PageRenderLinkSourceCreates a page render link using an override of the page's passivation context.- Specified by:
 createPageRenderLinkWithContextin interfacePageRenderLinkSource- Parameters:
 pageName- name of page to create link toeventContext- the EventContext to encode as the passiviation context- Returns:
 - render link for the page
 
 
 - 
 
 -