|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lenya.cms.publication.PageEnvelopeFactory
public class PageEnvelopeFactory
Common entry point for creating page envelopes.
Constructor Summary | |
---|---|
protected |
PageEnvelopeFactory()
Creates a new PageEnvelopeFactory. |
Method Summary | |
---|---|
static PageEnvelopeFactory |
getInstance()
Returns the singleton PageEnvelopeFactory. |
PageEnvelope |
getPageEnvelope(DocumentFactory map,
java.util.Map objectModel,
Publication pub)
Returns the page envelope for the object model of a Cocoon component. |
PageEnvelope |
getPageEnvelope(DocumentFactory map,
java.lang.String contextPath,
java.lang.String webappUrl,
java.io.File servletContext,
Publication pub)
Creates a page envelope. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PageEnvelopeFactory()
Method Detail |
---|
public static PageEnvelopeFactory getInstance()
public PageEnvelope getPageEnvelope(DocumentFactory map, java.util.Map objectModel, Publication pub) throws PageEnvelopeException
map
- The document identity map to use.objectModel
- The object model.pub
- The publication.
PageEnvelopeException
- if something went wrong.public PageEnvelope getPageEnvelope(DocumentFactory map, java.lang.String contextPath, java.lang.String webappUrl, java.io.File servletContext, Publication pub) throws PageEnvelopeException
map
- The document identity map to use.contextPath
- The servlet context prefix.webappUrl
- The web application URL.servletContext
- The servlet context directory.pub
- The publication.
PageEnvelopeException
- if something went wrong.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |