info.magnolia.cms.servlets
Interface MVCServletHandler

All Known Implementing Classes:
CommandBasedMVCServletHandler, MVCServletHandlerImpl

public interface MVCServletHandler

This Handler is used in the MVCServlet

Version:
$Id: MVCServletHandler.java 32667 2010-03-13 00:37:06Z gjoseph $
Author:
Philipp Bracher

Field Summary
static java.lang.String VIEW_NOTHING
           
 
Method Summary
 java.lang.String execute(java.lang.String command)
          Call the method through reflection
 java.lang.String getCommand()
          Depending on the request it is generating a logical command name
 java.lang.String getName()
          The name of the handler
 void init()
          Called after instantiating
 void renderHtml(java.lang.String view)
          Render the tree depending on the view name.
 

Field Detail

VIEW_NOTHING

static final java.lang.String VIEW_NOTHING
See Also:
Constant Field Values
Method Detail

getCommand

java.lang.String getCommand()
Depending on the request it is generating a logical command name

Returns:
name of the command

execute

java.lang.String execute(java.lang.String command)
Call the method through reflection

Parameters:
command -
Returns:
the name of the view to show (used in renderHtml)

renderHtml

void renderHtml(java.lang.String view)
                throws java.io.IOException
Render the tree depending on the view name.

Parameters:
view -
Throws:
java.io.IOException

getName

java.lang.String getName()
The name of the handler


init

void init()
          throws java.lang.Exception
Called after instantiating

Throws:
java.lang.Exception


Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.