public class ContentElementList extends Object implements IContentComponentsList
| Constructor and Description |
|---|
ContentElementList() |
ContentElementList(ComponentBean[] beans,
ContentContext ctx,
MenuElement inPage,
boolean allArea) |
ContentElementList(ContentContext ctx,
MenuElement inPage,
boolean allArea) |
ContentElementList(ContentElementList list) |
public ContentElementList()
public ContentElementList(ComponentBean[] beans, ContentContext ctx, MenuElement inPage, boolean allArea) throws Exception
Exceptionpublic ContentElementList(ContentContext ctx, MenuElement inPage, boolean allArea) throws Exception
Exceptionpublic ContentElementList(ContentElementList list)
protected void addElement(IContentVisualComponent elem)
protected void addElementAsFirst(IContentVisualComponent elem)
public void addRepeatElement(IContentVisualComponent elem)
public Iterable<IContentVisualComponent> asIterable(ContentContext ctx)
ContentElementList calling
hasNext(ContentContext) and next(ContentContext) with
the ctx parameter. #initialize() is called when Iterable.iterator()
is called.ctx - public String getLabel(ContentContext ctx)
public String getLanguage()
getLanguage in interface IContentComponentsListpublic MenuElement getPage()
public String getPageTitle(ContentContext ctx)
public String getPrefixXHTMLCode(ContentContext ctx)
getPrefixXHTMLCode in interface IContentComponentsListpublic String getSubTitle(ContentContext ctx)
public List<String> getSubTitles(ContentContext ctx, int inLevel)
public String getLinkLabel(ContentContext ctx)
public int getSubTitleLevel(ContentContext ctx)
public String getSufixXHTMLCode(ContentContext ctx)
getSufixXHTMLCode in interface IContentComponentsListpublic String getTitle(ContentContext ctx)
public String getLocalTitle(ContentContext ctx)
public String getXHTMLTitle(ContentContext ctx) throws Exception
Exceptionpublic boolean hasNext(ContentContext ctx)
hasNext in interface IContentComponentsListpublic void initialize(ContentContext ctx)
initialize in interface IContentComponentsListpublic IContentVisualComponent next(ContentContext ctx)
next in interface IContentComponentsListpublic int realSize()
public void setAllArea(boolean inAllArea)
setAllArea in interface IContentComponentsListpublic void setPage(MenuElement page)
public int size(ContentContext ctx)
size in interface IContentComponentsListpublic Iterable<IContentVisualComponent> getIterable(ContentContext ctx)
public LinkedList<IContentVisualComponent> getContentElements()
public IContentVisualComponent getComponent(String id)
Copyright © 2012-2018. All Rights Reserved.