| java.lang.Object org.mmbase.framework.Block
Block | public class Block (Code) | | A Block is a representation of a page within a component. It has 2 renderers,
'head' and 'body', and a processor.
author: Johannes Verelst author: Michiel Meeuwissen version: $Id: Block.java,v 1.33 2008/02/23 16:46:19 michiel Exp $ since: MMBase-1.9 |
Inner Class :public static class Type implements Comparable<Type> | |
createParameters | public Parameters createParameters()(Code) | | Before rendering, it may have to be fed with certain parameters. Obtain a parameters
object which this method, fill it, and feed it back into
Renderer.render .
|
getClassification | public Type[] getClassification()(Code) | | Returns the 'classification' of this block. For example the blocks
classified as 'mmbase.admin' are presented in the mmbase admin-pages.
|
getClassification | public Type[] getClassification(String filter)(Code) | | |
getComponent | public Component getComponent()(Code) | | the Component from which this block is a part. |
getMimeType | public String getMimeType()(Code) | | Mimetype for this block. E.g. "text/html".
|
getName | public String getName()(Code) | | Name for this block. Never null
|
getProcessor | public Processor getProcessor()(Code) | | The processor associated with this block. Never null |
getRenderers | Map<Renderer.Type, Renderer> getRenderers()(Code) | | All renderers assiociated with this Block. This is not a public method (it is used to create
the block). Use
#getRenderer(Renderer.Type} ).
|
|
|