KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portal > core > impl > tree > loader > ContentMarshaller


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Distributable under LGPL license. *
6  * See terms of license at gnu.org. *
7  * *
8  *****************************************/

9 package org.jboss.portal.core.impl.tree.loader;
10
11 import org.jboss.portal.cms.Content;
12 import org.jboss.portal.core.impl.tree.Property;
13
14 /**
15  * Used to convert object back and forth when the CMSCacheLoader needs to perform this operation.
16  *
17  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
18  * @version $Revision: 1.1 $
19  */

20 public interface ContentMarshaller
21 {
22    Content marshall(Object JavaDoc o) throws Exception JavaDoc;
23    Object JavaDoc unmarshall(Content content) throws Exception JavaDoc;
24 }
25
Popular Tags