KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > jwi > jgallery > tags > ColIteratorTagTEI


1 package de.jwi.jgallery.tags;
2
3 /*
4  * jGallery - Java web application to display image galleries
5  *
6  * Copyright (C) 2004 Juergen Weber
7  *
8  * This file is part of jGallery.
9  *
10  * jGallery is free software; you can redistribute it and/or modify
11  * it under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * jGallery is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  * GNU General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with jGallery; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place, Suite 330, Boston
23  */

24
25 import javax.servlet.jsp.tagext.TagData JavaDoc;
26 import javax.servlet.jsp.tagext.TagExtraInfo JavaDoc;
27 import javax.servlet.jsp.tagext.VariableInfo JavaDoc;
28
29 /**
30  * @author Jürgen Weber
31  * Source file created on 25.02.2004
32  *
33  * @see http://java.sun.com/products/jsp/tutorial/TagLibraries13.html
34  *
35  * This class is to have the ColIteratorTag.CURRENTIMAGE variable exist only
36  * within the ColIteratorTag scope.
37  */

38 public class ColIteratorTagTEI extends TagExtraInfo JavaDoc
39 {
40
41     public VariableInfo JavaDoc[] getVariableInfo(TagData JavaDoc data)
42     {
43         VariableInfo JavaDoc info = new VariableInfo JavaDoc(ColIteratorTag.CURRENTIMAGE,
44                 "de.jwi.jgallery.Image", true, VariableInfo.NESTED);
45         VariableInfo JavaDoc[] infos = { info};
46         return infos;
47     }
48 }
Popular Tags