Package org.hippoecm.hst.core.container
Interface HstComponentWindowFactory
-
public interface HstComponentWindowFactory
The factory interface which is responsible for creatingHstComponentWindow
instances.- Version:
- $Id$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HstComponentWindow
create(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, HstComponentConfiguration compConfig, HstComponentFactory compFactory)
Creates aHstComponentWindow
instance.HstComponentWindow
create(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, HstComponentConfiguration compConfig, HstComponentFactory compFactory, HstComponentWindow parentWindow)
Creates aHstComponentWindow
instance as a child window of the parentWindow.String
getReferenceNameSeparator()
Returns the reference namespace separator.void
setReferenceNameSeparator(String referenceNameSeparator)
Sets the reference namespace separator.
-
-
-
Method Detail
-
setReferenceNameSeparator
void setReferenceNameSeparator(String referenceNameSeparator)
Sets the reference namespace separator. If this is set to '_' and the namespace components are 'a', 'b' and 'c', then the reference namespace should be 'a_b_c'.- Parameters:
referenceNameSeparator
-
-
getReferenceNameSeparator
String getReferenceNameSeparator()
Returns the reference namespace separator.
-
create
HstComponentWindow create(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, HstComponentConfiguration compConfig, HstComponentFactory compFactory) throws HstComponentException
Creates aHstComponentWindow
instance.- Parameters:
requestContainerConfig
- the container configurationrequestContext
- theHstRequestContext
instance for the currrent requestcompConfig
- the component configurationcompFactory
- theHstComponentFactory
instance for this container- Returns:
- an instance of
HstComponentWindow
- Throws:
HstComponentException
-
create
HstComponentWindow create(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, HstComponentConfiguration compConfig, HstComponentFactory compFactory, HstComponentWindow parentWindow) throws HstComponentException
Creates aHstComponentWindow
instance as a child window of the parentWindow.- Parameters:
requestContainerConfig
- the container configurationrequestContext
- theHstRequestContext
instance for the currrent requestcompConfig
- the component configurationcompFactory
- theHstComponentFactory
instance for this containerparentWindow
- the parent window- Returns:
- an instance of
HstComponentWindow
- Throws:
HstComponentException
-
-