Package lumis.portal.presentation.core
Class DefaultLumisPortalComponentFactory
- java.lang.Object
-
- lumis.portal.presentation.core.DefaultLumisPortalComponentFactory
-
- All Implemented Interfaces:
ILayoutFileComponentFactory
public class DefaultLumisPortalComponentFactory extends Object implements ILayoutFileComponentFactory
Creates the component to be used for aLayoutFileTag
.- Since:
- 6.0.0
- Version:
- $Revision: 13093 $ $Date: 2011-05-28 18:40:18 -0300 (Sat, 28 May 2011) $
-
-
Constructor Summary
Constructors Constructor Description DefaultLumisPortalComponentFactory(Class<? extends HTMLFragmentComponent> componentClass)
Constructor for the class.DefaultLumisPortalComponentFactory(Class<? extends HTMLFragmentComponent> componentClass, boolean autoRenderBodyOnly)
Constructor for the class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.wicket.Component
createComponent(org.apache.wicket.MarkupContainer container, org.apache.wicket.markup.MarkupStream markupStream, LayoutFileTag tag)
Creates a component for the specified tag.
-
-
-
Constructor Detail
-
DefaultLumisPortalComponentFactory
public DefaultLumisPortalComponentFactory(Class<? extends HTMLFragmentComponent> componentClass, boolean autoRenderBodyOnly)
Constructor for the class.- Parameters:
componentClass
- class that knows how to render theLayoutFileTag
.autoRenderBodyOnly
- if#setRenderBodyOnly(boolean)
should automatically be set in case of layout file tags are to be stripped.- Since:
- 6.0.0
-
DefaultLumisPortalComponentFactory
public DefaultLumisPortalComponentFactory(Class<? extends HTMLFragmentComponent> componentClass)
Constructor for the class.- Parameters:
componentClass
- class that knows how to render theLayoutFileTag
.- Since:
- 6.0.0
-
-
Method Detail
-
createComponent
public org.apache.wicket.Component createComponent(org.apache.wicket.MarkupContainer container, org.apache.wicket.markup.MarkupStream markupStream, LayoutFileTag tag)
Creates a component for the specified tag.- Specified by:
createComponent
in interfaceILayoutFileComponentFactory
- Parameters:
container
- the tag's container.markupStream
- the markup stream.tag
- the tag to be rendered.- Returns:
- the component.
- Since:
- 6.0.0
-
-