org.apache.cocoon.portal.factory
Interface Producible

All Superinterfaces:
Aspectalizable
All Known Subinterfaces:
CompositeLayout, Layout
All Known Implementing Classes:
AbstractLayout, AbstractProducible, CompositeLayoutImpl, CopletData, CopletInstanceData, CopletLayout, FrameLayout, LinkLayout

public interface Producible
extends Aspectalizable

This interface marks an object that can be created by a factory.

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

Method Summary
 String getId()
          Get the unique id of this object
 String getName()
          The name given from the factory
 void initialize(String name, String id)
          Initialize the object.
 void setDescription(ProducibleDescription description)
          Set the layout description
 
Methods inherited from interface org.apache.cocoon.portal.aspect.Aspectalizable
addPersistentAspectData, getAspectData, getAspectDatas, getPersistentAspectData, isAspectSupported, setAspectData, setAspectDataHandler
 

Method Detail

getName

String getName()
The name given from the factory


getId

String getId()
Get the unique id of this object

Returns:
String Unique id

setDescription

void setDescription(ProducibleDescription description)
Set the layout description


initialize

void initialize(String name,
                String id)
Initialize the object. This should only be called once directly after the creation



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