|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.ade.containerpage.CmsElementUtil
public class CmsElementUtil
Utility class to generate the element data objects used within the container-page editor.
| Constructor Summary | |
|---|---|
CmsElementUtil(CmsObject cms,
String currentPageUri,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
Locale locale)
Creates a new instance. |
|
CmsElementUtil(CmsObject cms,
String currentPageUri,
String requestParameters,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
Locale locale)
Creates a new instance. |
|
| Method Summary | |
|---|---|
Map<String,String> |
getContentsByContainerName(CmsContainerElementBean element,
Collection<CmsContainer> containers)
Returns the rendered element content for all the given containers. |
CmsContainerElementData |
getElementData(CmsContainerElementBean element,
Collection<CmsContainer> containers)
Returns the data for an element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CmsElementUtil(CmsObject cms,
String currentPageUri,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
Locale locale)
throws CmsException
cms - the cms contextcurrentPageUri - the current page urireq - the http requestres - the http responselocale - the content locale
CmsException - if something goes wrong
public CmsElementUtil(CmsObject cms,
String currentPageUri,
String requestParameters,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
Locale locale)
throws CmsException
cms - the cms contextcurrentPageUri - the current page urirequestParameters - the request parameters to use while rendering the elementsreq - the http requestres - the http responselocale - the content locale
CmsException - if something goes wrong| Method Detail |
|---|
public Map<String,String> getContentsByContainerName(CmsContainerElementBean element,
Collection<CmsContainer> containers)
element - the element to rendercontainers - the containers the element appears in
public CmsContainerElementData getElementData(CmsContainerElementBean element,
Collection<CmsContainer> containers)
throws CmsException
element - the resourcecontainers - the containers on the current container page
CmsException - if something goes wrong
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||