Class LocatorTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
net.ontopia.topicmaps.nav2.taglibs.output.BaseOutputProducingTag
net.ontopia.topicmaps.nav2.taglibs.output.LocatorTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,Serializable,Function<LocatorIF,,String> OutputProducingTagIF
INTERNAL: Output Producing Tag for writing out the URI of the
resource that is an occurrence, a variant name, or a locator.
Note: Only puts out first entry retrieved by iterator.
- See Also:
-
Field Summary
Fields 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 TypeMethodDescriptionfinal voidgenerateOutput(jakarta.servlet.jsp.JspWriter out, Iterator iter) INTERNAL: Generate information extracted from the input collection provided access by specified iterator.voidsetRelative(String relativeToTopicmap) INTERNAL: Set the behaviour of the output, whether or not the base address of the topicmap should be not be in generated string.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
-
Constructor Details
-
LocatorTag
public LocatorTag()
-
-
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
-
setRelative
INTERNAL: Set the behaviour of the output, whether or not the base address of the topicmap should be not be in generated string. Default is to generate full locator address. Allowed values are: "yes|true|no|false". (FIXME: not implemented yet) -
setStringifier
Tag attribute for setting the stringifier to be used when producing the string from the selected object.- Since:
- 2.0
-
apply
-