freemarker.doc
Class TabItem

java.lang.Object
  |
  +--freemarker.doc.TabItem
All Implemented Interfaces:
TemplateHashModel, TemplateModel

public class TabItem
extends java.lang.Object
implements TemplateHashModel

A simple class representing a single tab in the web site's table of contents frame navigation.

Version:
$Id: TabItem.java,v 1.5 2003/11/28 01:21:44 run2000 Exp $

Constructor Summary
TabItem(java.lang.String name, java.lang.String link)
          Creates new TabItem
 
Method Summary
 TemplateModel get(java.lang.String key)
          Gets a TemplateModel from the hash.
 boolean isEmpty()
          Is this model empty?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabItem

public TabItem(java.lang.String name,
               java.lang.String link)
Creates new TabItem
Method Detail

get

public TemplateModel get(java.lang.String key)
                  throws TemplateModelException
Gets a TemplateModel from the hash.
Specified by:
get in interface TemplateHashModel
Parameters:
key - the name by which the TemplateModel is identified in the template.
Returns:
the TemplateModel referred to by the key, or null if not found.

isEmpty

public boolean isEmpty()
                throws TemplateModelException
Is this model empty?
Specified by:
isEmpty in interface TemplateModel
Returns:
true if this object is empty, otherwise false