Package org.apache.wiki.tags
Class PageExistsTag
java.lang.Object
jakarta.servlet.jsp.tagext.TagSupport
org.apache.wiki.tags.WikiTagBase
org.apache.wiki.tags.NoSuchPageTag
org.apache.wiki.tags.PageExistsTag
- All Implemented Interfaces:
jakarta.servlet.jsp.tagext.IterationTag,jakarta.servlet.jsp.tagext.JspTag,jakarta.servlet.jsp.tagext.Tag,jakarta.servlet.jsp.tagext.TryCatchFinally,Serializable
Includes the body in case the set page does exist.
- Since:
- 2.0
- See Also:
-
Field Summary
Fields inherited from class org.apache.wiki.tags.WikiTagBase
m_wikiContextFields 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 intThis method is allowed to do pretty much whatever he wants.Methods inherited from class org.apache.wiki.tags.NoSuchPageTag
getPage, initTag, setPageMethods inherited from class org.apache.wiki.tags.WikiTagBase
doCatch, doEndTag, doFinally, doStartTag, setId, setPageContextMethods inherited from class jakarta.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setParent, setValue
-
Constructor Details
-
PageExistsTag
public PageExistsTag()
-
-
Method Details
-
doWikiStartTag
public final int doWikiStartTag() throws IOException, org.apache.wiki.api.exceptions.ProviderExceptionDescription copied from class:WikiTagBaseThis method is allowed to do pretty much whatever he wants. We then catch all mistakes.- Overrides:
doWikiStartTagin classNoSuchPageTag- Throws:
IOExceptionorg.apache.wiki.api.exceptions.ProviderException
-