| java.lang.Object org.mmbase.framework.Framework org.mmbase.framework.basic.BasicFramework
BasicFramework | public class BasicFramework extends Framework (Code) | | The Basic framework is based on a list of
UrlConverter s. It is
configured with an XML 'framework.xml'.
author: Michiel Meeuwissen version: $Id: BasicFramework.java,v 1.12 2008/02/24 10:46:20 michiel Exp $ since: MMBase-1.9 |
Method Summary | |
protected void | configure(Element el) Configures the framework by reading its config file 'config/framework.xml'
containing a list with UrlConverters. | public Parameters | createParameters() | public Parameters | createSettingValueParameters() | public Block | getBlock(Parameters frameworkParameters) | public String | getInternalUrl(String page, Map<String, Object> params, Parameters frameworkParameters) | protected String | getKey(Setting> setting) | protected Map<String, Object> | getMap(State state, Map<String, Object> params) | public String | getName() | public Parameter[] | getParameterDefinition() | protected String | getPrefix(State state) | public String | getProcessUrl(String path, Map<String, Object> parameters, Parameters frameworkParameters, boolean escapeAmps) | public Block | getRenderingBlock(Parameters frameworkParameters) | public C | getSettingValue(Setting<C> setting, Parameters parameters) | public String | getUrl(String path, Map<String, Object> parameters, Parameters frameworkParameters, boolean escapeAmps) | public String | getUserBuilder() | public Node | getUserNode(Parameters frameworkParameters) | public boolean | makeRelativeUrl() | public Map<String, Object> | prefix(State state, Map<String, Object> params) | public void | process(Processor processor, Parameters blockParameters, Parameters frameworkParameters) | public void | render(Renderer renderer, Parameters blockParameters, Parameters frameworkParameters, Writer w, Renderer.WindowState windowState) Basic Framework implicitely also processes, i'm not sure if we should require any framework
to do that (perhaps we could say, that the render method must process, if that is necessary,
and not yet done). | protected void | setBlockParametersForProcess(State state, Parameters blockParameters) | protected void | setBlockParametersForRender(State state, Parameters blockParameters) | public C | setSettingValue(Setting<C> setting, Parameters parameters, C value) | public String | toString() |
BasicFramework | public BasicFramework()(Code) | | |
configure | protected void configure(Element el)(Code) | | Configures the framework by reading its config file 'config/framework.xml'
containing a list with UrlConverters.
|
createSettingValueParameters | public Parameters createSettingValueParameters()(Code) | | |
makeRelativeUrl | public boolean makeRelativeUrl()(Code) | | |
setBlockParametersForProcess | protected void setBlockParametersForProcess(State state, Parameters blockParameters)(Code) | | |
setBlockParametersForRender | protected void setBlockParametersForRender(State state, Parameters blockParameters)(Code) | | |
Methods inherited from org.mmbase.framework.Framework | abstract public Parameters createParameters()(Code)(Java Doc) abstract public Parameters createSettingValueParameters()(Code)(Java Doc) abstract public Block getBlock(Parameters frameworkParameters)(Code)(Java Doc) public static Framework getInstance()(Code)(Java Doc) abstract public String getInternalUrl(String path, Map<String, Object> params, Parameters frameworkParameters) throws FrameworkException(Code)(Java Doc) abstract public String getName()(Code)(Java Doc) abstract public Parameter[] getParameterDefinition()(Code)(Java Doc) abstract public String getProcessUrl(String path, Map<String, Object> parameters, Parameters frameworkParameters, boolean escapeAmps) throws FrameworkException(Code)(Java Doc) abstract public Block getRenderingBlock(Parameters frameworkParameters)(Code)(Java Doc) abstract public C getSettingValue(Setting<C> setting, Parameters parameters)(Code)(Java Doc) abstract public String getUrl(String path, Map<String, Object> parameters, Parameters frameworkParameters, boolean escapeAmps) throws FrameworkException(Code)(Java Doc) abstract public String getUserBuilder()(Code)(Java Doc) abstract public Node getUserNode(Parameters frameworkParameters)(Code)(Java Doc) abstract public void process(Processor processor, Parameters blockParameters, Parameters frameworkParameters) throws FrameworkException(Code)(Java Doc) abstract public void render(Renderer renderer, Parameters blockParameters, Parameters frameworkParameters, Writer w, Renderer.WindowState state) throws FrameworkException(Code)(Java Doc) abstract public C setSettingValue(Setting<C> setting, Parameters parameters, C value) throws SecurityException(Code)(Java Doc)
|
|
|