KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > gumby > tags > types > VectorTag


1 package org.sapia.gumby.tags.types;
2
3 import java.util.Vector JavaDoc;
4
5 import org.sapia.util.xml.confix.ConfigurationException;
6 import org.sapia.util.xml.confix.ObjectCreationCallback;
7 import org.sapia.util.xml.confix.ObjectHandlerIF;
8
9 /**
10  * @author Yanick Duchesne
11  *
12  * <dl>
13  * <dt><b>Copyright: </b>
14  * <dd>Copyright &#169; 2002-2005 <a HREF="http://www.sapia-oss.org">Sapia Open
15  * Source Software </a>. All Rights Reserved.</dd>
16  * </dt>
17  * <dt><b>License: </b>
18  * <dd>Read the license.txt file of the jar or visit the <a
19  * HREF="http://www.sapia-oss.org/license.html">license page </a> at the Sapia
20  * OSS web site</dd>
21  * </dt>
22  * </dl>
23  */

24 public class VectorTag implements ObjectCreationCallback, ObjectHandlerIF {
25
26   private Vector JavaDoc _items = new Vector JavaDoc();
27
28   /**
29    * @see org.sapia.util.xml.confix.ObjectHandlerIF#handleObject(java.lang.String,
30    * java.lang.Object)
31    */

32   public void handleObject(String JavaDoc arg0, Object JavaDoc arg1)
33       throws ConfigurationException {
34     _items.add(arg1);
35   }
36
37   /**
38    * @see org.sapia.util.xml.confix.ObjectCreationCallback#onCreate()
39    */

40   public Object JavaDoc onCreate() throws ConfigurationException {
41     return _items;
42   }
43
44 }
45
Popular Tags