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:
$Id: LayoutFactory.java 322471 2005-10-16 13:24:19Z cziegeler $

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

public static final String ROLE
Method Detail

prepareLayout

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


newInstance

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

Throws:
ProcessingException

remove

public 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

public List getLayoutDescriptions()


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.