|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.theme.PortalLayout
Implementation of a PortalLayout.
An instance of this class represents the meta data of a portal layout.
| Constructor Summary | |
PortalLayout()
Layouts need an empty constructor (they are loaded via reflection) |
|
| Method Summary | |
abstract void |
assembleResponse(ServerRequest request,
ServerResponse response,
MarkupResult markupResult)
Assemble the fragments created by the portlet render process into a response and send it back to the client (write it to the response) |
void |
destroy()
destroy this layout (cleanup time) |
LayoutInfo |
getLayoutInfo()
|
RenderContext |
getRenderContext(HTTPStreamInfo streamInfo,
ServerRequest request,
MarkupResult markupResult)
Create a new render context for this request and layout |
LayoutServiceInfo |
getServiceInfo()
|
void |
init(LayoutServiceInfo serviceInfo,
LayoutInfo info)
Initialize the layout with a handle to the layout service and the layout's meta data |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PortalLayout()
| Method Detail |
public abstract void assembleResponse(ServerRequest request, ServerResponse response, MarkupResult markupResult) throws javax.servlet.ServletException, java.io.IOException
request - the current server requestresponse - the current server responsemarkupResult - the result containing the information about what was rendered and what the resulting markup fragments are
javax.servlet.ServletException
java.io.IOExceptionpublic void init(LayoutServiceInfo serviceInfo, LayoutInfo info)
serviceInfo - a reference to the layout serviceinfo - the layout's meta data (the parsed content of the layout descriptor)public void destroy()
public LayoutInfo getLayoutInfo()
public LayoutServiceInfo getServiceInfo()
public RenderContext getRenderContext(HTTPStreamInfo streamInfo, ServerRequest request, MarkupResult markupResult)
streamInfo - the information about the content type and encoding this layout should producerequest - the current server requestmarkupResult - the result of the portlet render process
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||