|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hippoecm.hst.mock.core.container.MockHstComponentWindow
public class MockHstComponentWindow
Constructor Summary | |
---|---|
MockHstComponentWindow()
|
Method Summary | |
---|---|
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 name)
|
String |
getName()
The name of the component window. |
String |
getNamedRenderer()
|
String |
getNamedResourceServer()
|
String |
getPageErrorHandlerClassName()
|
String |
getParameter(String name)
|
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)
|
void |
setComponent(HstComponent component)
|
void |
setComponentInfo(HstComponentInfo componentInfo)
|
void |
setLocalParameter(String name,
String value)
|
void |
setName(String name)
|
void |
setNamedRenderer(String namedRenderer)
|
void |
setNamedResourceServer(String namedResourceServer)
|
void |
setPageErrorHandlerClassName(String pageErrorHandlerClassName)
|
void |
setParameter(String name,
String value)
|
void |
setParentWindow(HstComponentWindow parentWindow)
|
void |
setReferenceName(String referenceName)
|
void |
setReferenceNamespace(String referenceNamespace)
|
void |
setRenderPath(String renderPath)
|
void |
setResponseState(HstResponseState responseState)
|
void |
setServeResourcePath(String serveResourcePath)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockHstComponentWindow()
Method Detail |
---|
public void addComponentExcpetion(HstComponentException e)
HstComponentWindow
addComponentExcpetion
in interface HstComponentWindow
public void clearComponentExceptions()
HstComponentWindow
clearComponentExceptions
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 Map<String,HstComponentWindow> getChildWindowMap()
HstComponentWindow
getChildWindowMap
in interface HstComponentWindow
public List<String> getChildWindowNames()
HstComponentWindow
getChildWindowNames
in interface HstComponentWindow
public HstComponent getComponent()
HstComponentWindow
getComponent
in interface HstComponentWindow
public void setComponent(HstComponent component)
public String getComponentName()
HstComponentWindow
getComponentName
in interface HstComponentWindow
public List<HstComponentException> getComponentExceptions()
HstComponentWindow
getComponentExceptions
in interface HstComponentWindow
public String getName()
HstComponentWindow
getName
in interface HstComponentWindow
public void setName(String name)
public HstComponentWindow getParentWindow()
HstComponentWindow
getParentWindow
in interface HstComponentWindow
public void setParentWindow(HstComponentWindow parentWindow)
public String getReferenceName()
HstComponentWindow
getReferenceName
in interface HstComponentWindow
public void setReferenceName(String referenceName)
public String getReferenceNamespace()
HstComponentWindow
getReferenceNamespace
in interface HstComponentWindow
public void setReferenceNamespace(String referenceNamespace)
public String getRenderPath()
HstComponentWindow
getRenderPath
in interface HstComponentWindow
public void setRenderPath(String renderPath)
public String getNamedRenderer()
getNamedRenderer
in interface HstComponentWindow
null
when HstComponentWindow.getRenderPath()
does not return null
HstComponentWindow.getRenderPath()
public void setNamedRenderer(String namedRenderer)
public HstResponseState getResponseState()
HstComponentWindow
getResponseState
in interface HstComponentWindow
public void setResponseState(HstResponseState responseState)
public String getServeResourcePath()
HstComponentWindow
getServeResourcePath
in interface HstComponentWindow
public void setServeResourcePath(String serveResourcePath)
public String getNamedResourceServer()
getNamedResourceServer
in interface HstComponentWindow
null
when HstComponentWindow.getServeResourcePath()
does not return null
HstComponentWindow.getServeResourcePath()
public void setNamedResourceServer(String namedResourceServer)
public String getPageErrorHandlerClassName()
getPageErrorHandlerClassName
in interface HstComponentWindow
PageErrorHandler
public void setPageErrorHandlerClassName(String pageErrorHandlerClassName)
public String getParameter(String name)
getParameter
in interface HstComponentWindow
name
- the name of the parameter
name
and null
if not existingorg.hippoecm.hst.configuration.components.HstComponentConfiguration#getParameter(String)}
public void setParameter(String name, String value)
public String getLocalParameter(String name)
getLocalParameter
in interface HstComponentWindow
name
and null
if not existingorg.hippoecm.hst.configuration.components.HstComponentConfiguration#getLocalParameter(String)}
public void setLocalParameter(String name, String value)
public boolean hasComponentExceptions()
HstComponentWindow
hasComponentExceptions
in interface HstComponentWindow
public HstComponentInfo getComponentInfo()
getComponentInfo
in interface HstComponentWindow
public void setComponentInfo(HstComponentInfo componentInfo)
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |