public class AreaElement extends AbstractContentTemplatingElement
Modifier and Type | Field and Description |
---|---|
static String |
ATTRIBUTE_COMPONENT |
static String |
ATTRIBUTE_COMPONENTS |
Constructor and Description |
---|
AreaElement(ServerConfiguration server,
RenderingContext renderingContext,
RenderingEngine renderingEngine,
RenderableVariationResolver variationResolver,
I18nizer i18nizer)
Deprecated.
|
AreaElement(ServerConfiguration server,
RenderingContext renderingContext,
RenderingEngine renderingEngine,
RenderableVariationResolver variationResolver,
javax.inject.Provider<TemplatingModule> templatingModuleProvider,
WebContext webContext) |
getActivationStatus, getContent, getEditable, getNodeIdentifier, getNodePath, getPassedContent, getPath, getTemplateDefinition, getWebContext, getWorkspace, isMessageKey, legacyTranslate, restoreAttributesInWebContext, setAttributesInWebContext, setContent, setEditable, setNodeIdentifier, setPageEditorAttributes, setPath, setTemplateDefinition, setWorkspace
currentContent, getDefinitionMessage, getInterfaceMessage, getRenderingContext, getServer, isAdmin
public static final String ATTRIBUTE_COMPONENT
public static final String ATTRIBUTE_COMPONENTS
@Inject public AreaElement(ServerConfiguration server, RenderingContext renderingContext, RenderingEngine renderingEngine, RenderableVariationResolver variationResolver, javax.inject.Provider<TemplatingModule> templatingModuleProvider, WebContext webContext)
@Deprecated public AreaElement(ServerConfiguration server, RenderingContext renderingContext, RenderingEngine renderingEngine, RenderableVariationResolver variationResolver, I18nizer i18nizer)
AreaElement(info.magnolia.cms.beans.config.ServerConfiguration, info.magnolia.rendering.context.RenderingContext, info.magnolia.rendering.engine.RenderingEngine, info.magnolia.rendering.template.variation.RenderableVariationResolver, javax.inject.Provider, info.magnolia.context.WebContext)
instead.public void begin(Appendable out) throws IOException, RenderException
begin
in interface TemplatingElement
begin
in class AbstractTemplatingElement
IOException
RenderException
protected void buildAdHocAreaDefinition()
public void end(Appendable out) throws RenderException
AbstractTemplatingElement
end
in interface TemplatingElement
end
in class AbstractTemplatingElement
RenderException
protected javax.jcr.Node tryToCreateAreaNode(javax.jcr.Node parentNode) throws RenderException
RenderException
protected AreaDefinition resolveAreaDefinition()
protected TemplateDefinition resolveTemplateDefinition() throws RenderException
RenderException
@Deprecated protected String resolveAvailableComponents()
AvailableComponents
instead.public String getName()
public void setName(String name)
public AreaDefinition getArea()
public void setArea(AreaDefinition area)
public String getAvailableComponents()
public void setAvailableComponents(String availableComponents)
public String getType()
public void setType(String type)
public String getDialog()
getDialog
in class AbstractContentTemplatingElement
public void setDialog(String dialog)
setDialog
in class AbstractContentTemplatingElement
public String getLabel()
public void setLabel(String label)
public String getDescription()
public void setDescription(String description)
public boolean isInherit()
public void setInherit(boolean inherit)
public Integer getMaxComponents()
public void setMaxComponents(Integer maxComponents)
public Boolean getCreateAreaNode()
public void setCreateAreaNode(Boolean createAreaNode)
public AreaDefinition getAreaDefinition()
public Boolean getOptional()
protected boolean renderComments()
AbstractContentTemplatingElement
renderComments
in class AbstractContentTemplatingElement
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.