Package org.hippoecm.hst.core.container
Interface HstComponentWindowFactory
public interface HstComponentWindowFactory
The factory interface which is responsible for creating
HstComponentWindow
instances.- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, HstComponentConfiguration compConfig, HstComponentFactory compFactory) Creates aHstComponentWindow
instance.create
(HstContainerConfig requestContainerConfig, HstRequestContext requestContext, HstComponentConfiguration compConfig, HstComponentFactory compFactory, HstComponentWindow parentWindow) Creates aHstComponentWindow
instance as a child window of the parentWindow.Returns the reference namespace separator.void
setReferenceNameSeparator
(String referenceNameSeparator) Sets the reference namespace separator.
-
Method Details
-
setReferenceNameSeparator
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
-