net.ontopia.topicmaps.nav2.taglibs.output
Class NameTag

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

public class NameTag
extends BaseOutputProducingTag

INTERNAL: Output Producing Tag for selecting the name of an object and writing it out.

Note: Only puts out first item retrieved by iterator.

See Also:
Serialized Form

Field Summary
protected  String basenameScopeVarName
           
protected  String nameGrabberCN
           
protected  String nameStringifierCN
           
protected  String variantScopeVarName
           
 
Fields inherited from class net.ontopia.topicmaps.nav2.taglibs.output.BaseOutputProducingTag
contextTag, escapeEntities, numberOfElements, suppressEmptyCollection, variableName
 
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
NameTag()
           
 
Method Summary
 void generateOutput(javax.servlet.jsp.JspWriter out, Iterator iter)
          INTERNAL: Generate information extracted from the input collection provided access by specified iterator.
 void setBasenameScope(String scopeVarName)
           
 void setGrabber(String classname)
           
 void setStringifier(String classname)
           
 void setVariantScope(String scopeVarName)
           
 
Methods inherited from class net.ontopia.topicmaps.nav2.taglibs.output.BaseOutputProducingTag
doEndTag, doStartTag, getCollectionSize, print2Writer, release, setEscapeEntities, setOf, setSuppressEmptyCollection
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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

nameGrabberCN

protected String nameGrabberCN

nameStringifierCN

protected String nameStringifierCN

basenameScopeVarName

protected String basenameScopeVarName

variantScopeVarName

protected String variantScopeVarName
Constructor Detail

NameTag

public NameTag()
Method Detail

generateOutput

public void generateOutput(javax.servlet.jsp.JspWriter out,
                           Iterator iter)
                    throws javax.servlet.jsp.JspTagException,
                           IOException
Description copied from interface: OutputProducingTagIF
INTERNAL: Generate information extracted from the input collection provided access by specified iterator. This is expected to be written to the JspWriter object.

Specified by:
generateOutput in interface OutputProducingTagIF
Specified by:
generateOutput in class BaseOutputProducingTag
Throws:
javax.servlet.jsp.JspTagException
IOException

setGrabber

public final void setGrabber(String classname)

setStringifier

public final void setStringifier(String classname)

setBasenameScope

public final void setBasenameScope(String scopeVarName)

setVariantScope

public final void setVariantScope(String scopeVarName)


Copyright © 2000-2012 Ontopia.