| org.apache.cocoon.components.persistence.CastorSourceConverter
CastorSourceConverter | public class CastorSourceConverter extends AbstractLogEnabled implements Component,Serviceable,Configurable,Initializable,ThreadSafe(Code) | | This is a component converting the profiles (= object tree) to XML and vice-versa
using Castor. It could be used to persist objects as a XML representation.
In order to work properly the methods provided by this interface require some
parameters:
objectmap : containing a map of objects for resolving references during load
profiletype: specifying the mapping (e.g. in the portal this is one of layout, copletinstancedata, copletdata or copletbasedate)
suppressXSIType: Sets whether or not the xsi:type attributes should appear on the marshalled document.
author: Carsten Ziegeler author: Volker Schmitt author: Björn Lütkemeier version: CVS $Id: CastorSourceConverter.java 433543 2006-08-22 06:22:54Z crossley $ |
configure | public void configure(Configuration config) throws ConfigurationException(Code) | | See Also: org.apache.avalon.framework.configuration.Configurable.configure(org.apache.avalon.framework.configuration.Configuration) |
initialize | public void initialize() throws Exception(Code) | | See Also: org.apache.avalon.framework.activity.Initializable.initialize |
service | public void service(ServiceManager manager) throws ServiceException(Code) | | See Also: org.apache.avalon.framework.service.Serviceable.service(org.apache.avalon.framework.service.ServiceManager) |
|
|