net.ontopia.topicmaps.nav2.taglibs.TMvalue
Class ThemesTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by net.ontopia.topicmaps.nav2.taglibs.TMvalue.ThemesTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class ThemesTag
extends javax.servlet.jsp.tagext.TagSupport

INTERNAL: Value Producing Tag for finding all topics that are used as themes in scopes, either in general, or of a specific kind of topic map object.

See Also:
Serialized Form

Field Summary
static String THEME_ASSOC
           
static String THEME_BASENAME
           
static String THEME_OCC
           
static String THEME_VARIANT
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ThemesTag()
           
 
Method Summary
 int doStartTag()
          Process the start tag for this instance.
 void release()
          reset the state of the Tag.
 void setOf(String themeName)
          Sets the theme-type for topics that should looked up.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THEME_ASSOC

public static final String THEME_ASSOC
See Also:
Constant Field Values

THEME_BASENAME

public static final String THEME_BASENAME
See Also:
Constant Field Values

THEME_VARIANT

public static final String THEME_VARIANT
See Also:
Constant Field Values

THEME_OCC

public static final String THEME_OCC
See Also:
Constant Field Values
Constructor Detail

ThemesTag

public ThemesTag()
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspTagException
Process the start tag for this instance.

Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspTagException

release

public void release()
reset the state of the Tag.

Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class javax.servlet.jsp.tagext.TagSupport

setOf

public void setOf(String themeName)
Sets the theme-type for topics that should looked up.

Parameters:
themeName - String which should contain one of the following values: topic | association | occurrence | basename | variant


Copyright © 2000-2012 Ontopia.