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

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

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

INTERNAL: Value Producing Tag for finding all topics that define classes, either in general, or of a specific kind of object.

See Also:
Serialized Form

Field Summary
static String TYPE_ASSOC
           
static String TYPE_OCC
           
static String TYPE_ROLE
           
static String TYPE_TOPIC
           
 
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
ClassesTag()
           
 
Method Summary
 int doStartTag()
          Process the start tag for this instance.
 void setOf(String typeName)
          Sets the class-type for topics that should looked up.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, 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

TYPE_TOPIC

public static final String TYPE_TOPIC
See Also:
Constant Field Values

TYPE_ASSOC

public static final String TYPE_ASSOC
See Also:
Constant Field Values

TYPE_ROLE

public static final String TYPE_ROLE
See Also:
Constant Field Values

TYPE_OCC

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

ClassesTag

public ClassesTag()
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

setOf

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

Parameters:
typeName - String which should contain one of the following values: topic | association | occurrence | role


Copyright © 2000-2012 Ontopia.