| java.lang.Object org.apache.lenya.cms.publication.PageEnvelopeFactory
PageEnvelopeFactory | public class PageEnvelopeFactory (Code) | | Common entry point for creating page envelopes.
|
Method Summary | |
public static PageEnvelopeFactory | getInstance() Returns the singleton PageEnvelopeFactory. | public PageEnvelope | getPageEnvelope(DocumentFactory map, Map objectModel, Publication pub) Returns the page envelope for the object model of a Cocoon component.
Parameters: map - The document identity map to use. Parameters: objectModel - The object model. Parameters: pub - The publication. | public PageEnvelope | getPageEnvelope(DocumentFactory map, String contextPath, String webappUrl, File servletContext, Publication pub) Creates a page envelope.
Parameters: map - The document identity map to use. Parameters: contextPath - The servlet context prefix. Parameters: webappUrl - The web application URL. Parameters: servletContext - The servlet context directory. Parameters: pub - The publication. |
PageEnvelopeFactory | protected PageEnvelopeFactory()(Code) | | Creates a new PageEnvelopeFactory.
|
getPageEnvelope | public PageEnvelope getPageEnvelope(DocumentFactory map, String contextPath, String webappUrl, File servletContext, Publication pub) throws PageEnvelopeException(Code) | | Creates a page envelope.
Parameters: map - The document identity map to use. Parameters: contextPath - The servlet context prefix. Parameters: webappUrl - The web application URL. Parameters: servletContext - The servlet context directory. Parameters: pub - The publication. A page envelope. throws: PageEnvelopeException - if something went wrong. |
|
|