KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > util > xml > idefix > SerializerFactoryIF


1 package org.sapia.util.xml.idefix;
2
3
4 /**
5  *
6  *
7  * @author <a HREF="mailto:jc@sapia-oss.org">Jean-Cedric Desrochers</a>
8  * <dl>
9  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2003 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
10  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
11  * <a HREF="http://www.sapia-oss.org/license.html" target="sapia-license">license page</a> at the Sapia OSS web site</dd></dt>
12  * </dl>
13  */

14 public interface SerializerFactoryIF {
15   /**
16    * Returns a serializer instance that knows how to convert an object of the type
17    * represented by the class argument into an XML format.
18    *
19    * @param aClass The type of the object for which to get a serializer
20    * @return The serializer instance.
21    * @exception SerializerNotFoundException If no serialier was found for the class.
22    */

23   public SerializerIF getSerializer(Class JavaDoc aClass)
24     throws SerializerNotFoundException;
25 }
26
Popular Tags