|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.core.container.HstComponentWindowImpl
public class HstComponentWindowImpl
HstComponentWindowImpl
Field Summary | |
---|---|
protected Map<String,Object> |
attributes
|
protected org.apache.commons.collections.map.LinkedMap |
childWindowMap
|
protected org.apache.commons.collections.map.LinkedMap |
childWindowMapByReferenceName
|
protected HstComponent |
component
|
protected List<HstComponentException> |
componentExceptions
|
protected String |
componentName
|
protected HstComponentConfiguration |
hstComponentConfiguration
|
protected static org.slf4j.Logger |
log
|
protected String |
name
|
protected String |
namedRenderer
|
protected String |
namedResourceServer
|
protected HstComponentWindow |
parentWindow
|
protected String |
referenceNamespace
|
protected String |
renderPath
|
protected HstResponseState |
responseState
|
protected String |
serveResourcePath
|
Constructor Summary | |
---|---|
HstComponentWindowImpl(HstComponentConfiguration hstComponentConfiguration,
String componentName,
HstComponent component,
HstComponentWindow parentWindow,
String referenceNamespace)
|
Method Summary | |
---|---|
void |
addChildWindow(HstComponentWindow child)
|
void |
addComponentExcpetion(HstComponentException e)
Adds a component exceptions during initialization or runtime. |
void |
clearComponentExceptions()
Adds a component exceptions during initialization or runtime. |
Object |
getAttribute(String name)
|
Enumeration<String> |
getAttributeNames()
|
HstComponentWindow |
getChildWindow(String name)
The child component window which can be accessed by the name. |
HstComponentWindow |
getChildWindowByReferenceName(String referenceName)
The child component window which can be accessed by the reference name. |
Map<String,HstComponentWindow> |
getChildWindowMap()
The child component windows contained in this component window. |
List<String> |
getChildWindowNames()
The child component window names contained in this component window. |
HstComponent |
getComponent()
The actual HstComponent instance. |
List<HstComponentException> |
getComponentExceptions()
The component exceptions during initialization or runtime. |
HstComponentInfo |
getComponentInfo()
|
String |
getComponentName()
The HstComponent name. |
String |
getLocalParameter(String paramName)
|
String |
getName()
The name of the component window. |
String |
getNamedRenderer()
|
String |
getNamedResourceServer()
|
String |
getPageErrorHandlerClassName()
|
String |
getParameter(String paramName)
|
HstComponentWindow |
getParentWindow()
The parent component window containing this component window. |
String |
getReferenceName()
The reference name of the component window. |
String |
getReferenceNamespace()
The reference namespace of the component window. |
String |
getRenderPath()
The dispatching path path to render this component window. |
HstResponseState |
getResponseState()
Returns the response state of this component window |
String |
getServeResourcePath()
The dispatching path path to serve resource in this component window. |
boolean |
hasComponentExceptions()
Whether it has component exceptions or not |
Object |
removeAttribute(String name)
|
void |
setAttribute(String name,
Object value)
|
protected void |
setResponseState(HstResponseState responseState)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final org.slf4j.Logger log
protected HstComponentConfiguration hstComponentConfiguration
protected String name
protected String referenceNamespace
protected HstComponent component
protected String componentName
protected String renderPath
protected String namedRenderer
protected String serveResourcePath
protected String namedResourceServer
protected HstComponentWindow parentWindow
protected List<HstComponentException> componentExceptions
protected org.apache.commons.collections.map.LinkedMap childWindowMap
protected org.apache.commons.collections.map.LinkedMap childWindowMapByReferenceName
protected Map<String,Object> attributes
protected HstResponseState responseState
Constructor Detail |
---|
public HstComponentWindowImpl(HstComponentConfiguration hstComponentConfiguration, String componentName, HstComponent component, HstComponentWindow parentWindow, String referenceNamespace)
Method Detail |
---|
public HstComponent getComponent()
HstComponentWindow
getComponent
in interface HstComponentWindow
public String getComponentName()
HstComponentWindow
getComponentName
in interface HstComponentWindow
public boolean hasComponentExceptions()
HstComponentWindow
hasComponentExceptions
in interface HstComponentWindow
public List<HstComponentException> getComponentExceptions()
HstComponentWindow
getComponentExceptions
in interface HstComponentWindow
public void addComponentExcpetion(HstComponentException e)
HstComponentWindow
addComponentExcpetion
in interface HstComponentWindow
public void clearComponentExceptions()
HstComponentWindow
clearComponentExceptions
in interface HstComponentWindow
public String getRenderPath()
HstComponentWindow
getRenderPath
in interface HstComponentWindow
public String getNamedRenderer()
getNamedRenderer
in interface HstComponentWindow
null
when HstComponentWindow.getRenderPath()
does not return null
HstComponentWindow.getRenderPath()
public String getServeResourcePath()
HstComponentWindow
getServeResourcePath
in interface HstComponentWindow
public String getNamedResourceServer()
getNamedResourceServer
in interface HstComponentWindow
null
when HstComponentWindow.getServeResourcePath()
does not return null
HstComponentWindow.getServeResourcePath()
public String getParameter(String paramName)
getParameter
in interface HstComponentWindow
paramName
- the name of the parameter
name
and null
if not existingorg.hippoecm.hst.configuration.components.HstComponentConfiguration#getParameter(String)}
public String getLocalParameter(String paramName)
getLocalParameter
in interface HstComponentWindow
name
and null
if not existingorg.hippoecm.hst.configuration.components.HstComponentConfiguration#getLocalParameter(String)}
public HstComponentWindow getParentWindow()
HstComponentWindow
getParentWindow
in interface HstComponentWindow
public Map<String,HstComponentWindow> getChildWindowMap()
HstComponentWindow
getChildWindowMap
in interface HstComponentWindow
public List<String> getChildWindowNames()
HstComponentWindow
getChildWindowNames
in interface HstComponentWindow
public HstComponentWindow getChildWindow(String name)
HstComponentWindow
getChildWindow
in interface HstComponentWindow
name
- the name of the child component window
public HstComponentWindow getChildWindowByReferenceName(String referenceName)
HstComponentWindow
getChildWindowByReferenceName
in interface HstComponentWindow
referenceName
- the referenceName of the child component window
public String getName()
HstComponentWindow
getName
in interface HstComponentWindow
public String getReferenceName()
HstComponentWindow
getReferenceName
in interface HstComponentWindow
public String getPageErrorHandlerClassName()
getPageErrorHandlerClassName
in interface HstComponentWindow
PageErrorHandler
public String getReferenceNamespace()
HstComponentWindow
getReferenceNamespace
in interface HstComponentWindow
public HstResponseState getResponseState()
HstComponentWindow
getResponseState
in interface HstComponentWindow
public void addChildWindow(HstComponentWindow child)
public HstComponentInfo getComponentInfo()
getComponentInfo
in interface HstComponentWindow
public Object getAttribute(String name)
getAttribute
in interface HstComponentWindow
public void setAttribute(String name, Object value)
setAttribute
in interface HstComponentWindow
public Object removeAttribute(String name)
removeAttribute
in interface HstComponentWindow
public Enumeration<String> getAttributeNames()
getAttributeNames
in interface HstComponentWindow
protected void setResponseState(HstResponseState responseState)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |