Class NameTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
net.ontopia.topicmaps.nav2.taglibs.output.BaseOutputProducingTag
net.ontopia.topicmaps.nav2.taglibs.output.NameTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,Serializable,OutputProducingTagIF
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class net.ontopia.topicmaps.nav2.taglibs.output.BaseOutputProducingTag
contextTag, escapeEntities, numberOfElements, suppressEmptyCollection, variableNameFields inherited from class jakarta.servlet.jsp.tagext.TagSupport
id, pageContextFields inherited from interface jakarta.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAINFields inherited from interface jakarta.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateOutput(jakarta.servlet.jsp.JspWriter out, Iterator iter) INTERNAL: Generate information extracted from the input collection provided access by specified iterator.final voidsetBasenameScope(String scopeVarName) final voidsetGrabber(String classname) final voidsetStringifier(String classname) final voidsetVariantScope(String scopeVarName) Methods inherited from class net.ontopia.topicmaps.nav2.taglibs.output.BaseOutputProducingTag
doEndTag, doStartTag, getCollectionSize, print2Writer, release, setOfMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
Field Details
-
nameGrabberCN
-
nameStringifierCN
-
basenameScopeVarName
-
variantScopeVarName
-
-
Constructor Details
-
NameTag
public NameTag()
-
-
Method Details
-
generateOutput
public void generateOutput(jakarta.servlet.jsp.JspWriter out, Iterator iter) throws jakarta.servlet.jsp.JspTagException, IOException Description copied from interface:OutputProducingTagIFINTERNAL: Generate information extracted from the input collection provided access by specified iterator. This is expected to be written to theJspWriterobject.- Specified by:
generateOutputin interfaceOutputProducingTagIF- Specified by:
generateOutputin classBaseOutputProducingTag- Throws:
jakarta.servlet.jsp.JspTagExceptionIOException
-
setGrabber
-
setStringifier
-
setBasenameScope
-
setVariantScope
-