KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > archie > impl > DefaultNodeFactory


1 package org.sapia.archie.impl;
2
3 import org.sapia.archie.Node;
4 import org.sapia.archie.NodeFactory;
5 import org.sapia.archie.ProcessingException;
6
7
8 /**
9  * A <code>NodeFactory</code> that creates <code>DefaultNode</code>s.
10  *
11  * @author Yanick Duchesne
12  *
13  * <dl>
14  * <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>
15  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
16  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
17  * </dl>
18  */

19 public class DefaultNodeFactory implements NodeFactory {
20   
21   /**
22    * @see NodeFactory#newNode()
23    */

24   public Node newNode() throws ProcessingException{
25     return new DefaultNode();
26   }
27 }
28
Popular Tags