Class ContentTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
net.ontopia.topicmaps.nav2.taglibs.output.BaseOutputProducingTag
net.ontopia.topicmaps.nav2.taglibs.output.ContentTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,Serializable,Function<Object,,String> OutputProducingTagIF
INTERNAL: Output Producing Tag for writing out the content of an
occurrence or a string.
Note: Only outputs first element of collection.
- See Also:
-
Field Summary
FieldsFields 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 TypeMethodDescriptionPRIVATE: Included to implement StringifierIF interface.final voidgenerateOutput(jakarta.servlet.jsp.JspWriter out, Iterator iter) INTERNAL: Generate information extracted from the input collection provided access by specified iterator.final voidsetStringifier(String strifyCN) Tag attribute for setting the stringifier to be used when producing the string from the selected object.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
-
strifyCN
-
-
Constructor Details
-
ContentTag
public ContentTag()
-
-
Method Details
-
generateOutput
public final 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
-
setStringifier
Tag attribute for setting the stringifier to be used when producing the string from the selected object.- Since:
- 2.0
-
apply
PRIVATE: Included to implement StringifierIF interface.
-