org.apache.cocoon.portal.layout
Interface LayoutFactory

All Known Implementing Classes:
DefaultLayoutFactory

public interface LayoutFactory

This factory is for creating and managing layout objects

Version:
CVS $Id: LayoutFactory.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Carsten Ziegeler, Volker Schmitt

Field Summary
static String ROLE
           
 
Method Summary
 List getLayoutDescriptions()
           
 Layout newInstance(String name)
          Create a new layout instance.
 void prepareLayout(Layout layout)
          This method is invoked for a newly loaded profile
 void remove(Layout layout)
          Remove the layout instance.
 

Field Detail

ROLE

static final String ROLE
Method Detail

prepareLayout

void prepareLayout(Layout layout)
                   throws ProcessingException
This method is invoked for a newly loaded profile

Throws:
ProcessingException

newInstance

Layout newInstance(String name)
                   throws ProcessingException
Create a new layout instance. The instance is also registered at the profile manager.

Throws:
ProcessingException

remove

void remove(Layout layout)
            throws ProcessingException
Remove the layout instance. The instance (and all childs) will also be unregistered from the profile manager.

Throws:
ProcessingException

getLayoutDescriptions

List getLayoutDescriptions()


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.