KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > bridge > jsp > taglib > AliasListTag


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10 package org.mmbase.bridge.jsp.taglib;
11
12 import java.util.*;
13
14 import javax.servlet.jsp.JspTagException JavaDoc;
15 import org.mmbase.bridge.Node;
16
17
18 /**
19  * This class makes a tag which can list the aliases of a Node.
20  *
21  * @author Michiel Meeuwissen
22  * @version $Id: AliasListTag.java,v 1.20 2003/08/05 18:42:55 michiel Exp $
23  */

24
25 public class AliasListTag extends StringListTag implements ListProvider, Writer {
26
27     protected List getList() throws JspTagException JavaDoc {
28         Node node = getNode();
29         return node.getAliases();
30     }
31 }
32
33
Popular Tags