Class BaseOutputProducingTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
net.ontopia.topicmaps.nav2.taglibs.tolog.BaseOutputProducingTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,Serializable
- Direct Known Subclasses:
ObjectIdTag,OutTag,SymbolicIdTag
public abstract class BaseOutputProducingTag
extends jakarta.servlet.jsp.tagext.TagSupport
INTERNAL: Abstract super-class of an Output-Producing Tag.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected Stringprotected Stringprotected StringFields 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 intdoEndTag()intProcess the start tag for this instance.abstract voidgenerateOutput(jakarta.servlet.jsp.JspWriter out, Object outObject) Get the object to write out (either through a variable or query).protected abstract StringgetName()protected final voidprint2Writer(jakarta.servlet.jsp.JspWriter out, String string) INTERNAL: prints out string to specified JspWriter object with respect if the entities should be escaped.voidrelease()reset the state of the Tag.final voidsetFallback(String fallbackValue) voidfinal voidMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
-
Field Details
-
escapeEntities
protected boolean escapeEntities -
variableName
-
query
-
fallbackValue
-
-
Constructor Details
-
BaseOutputProducingTag
public BaseOutputProducingTag() -
BaseOutputProducingTag
protected BaseOutputProducingTag(boolean escapeEntities)
-
-
Method Details
-
getName
-
doStartTag
public int doStartTag() throws jakarta.servlet.jsp.JspTagExceptionProcess the start tag for this instance.- Specified by:
doStartTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doStartTagin classjakarta.servlet.jsp.tagext.TagSupport- Throws:
jakarta.servlet.jsp.JspTagException
-
doEndTag
public final int doEndTag()- Specified by:
doEndTagin interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
doEndTagin classjakarta.servlet.jsp.tagext.TagSupport
-
release
public void release()reset the state of the Tag.- Specified by:
releasein interfacejakarta.servlet.jsp.tagext.Tag- Overrides:
releasein classjakarta.servlet.jsp.tagext.TagSupport
-
generateOutput
public abstract void generateOutput(jakarta.servlet.jsp.JspWriter out, Object outObject) throws jakarta.servlet.jsp.JspTagException, IOException - Throws:
jakarta.servlet.jsp.JspTagExceptionIOException
-
generateOutputObject
Get the object to write out (either through a variable or query).- Throws:
jakarta.servlet.jsp.JspTagException
-
setQuery
-
setVar
-
setFallback
-
print2Writer
protected final void print2Writer(jakarta.servlet.jsp.JspWriter out, String string) throws IOException INTERNAL: prints out string to specified JspWriter object with respect if the entities should be escaped.- Throws:
IOException
-