|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tapestry.test.MockComponentRenderWorker
public class MockComponentRenderWorker
Placeholder class used to allow proper creation of AbstractComponent
classes
that normally rely on it being injected at runtime. Used primarily by Creator
.
Constructor Summary | |
---|---|
MockComponentRenderWorker()
Does nothing. |
Method Summary | |
---|---|
void |
renderBody(IRequestCycle cycle,
Body component)
Special render for handling html element targets. |
void |
renderComponent(IRequestCycle cycle,
IComponent component)
Invoked just after the components render call, giving services implementing the ComponentRenderWorker interface a guaranteed
state to work off of. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockComponentRenderWorker()
Method Detail |
---|
public void renderBody(IRequestCycle cycle, Body component)
renderBody
in interface ComponentRenderWorker
cycle
- The associated request cycle.component
- The Body
component, which holds the needed PageRenderSupport
object.public void renderComponent(IRequestCycle cycle, IComponent component)
ComponentRenderWorker
interface a guaranteed
state to work off of.
renderComponent
in interface ComponentRenderWorker
cycle
- The associated request for this render.component
- The component that has just been rendered.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |