Package org.apache.wiki.tags
Class NoSuchPageTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.apache.wiki.tags.WikiTagBase
-
- org.apache.wiki.tags.NoSuchPageTag
-
- All Implemented Interfaces:
java.io.Serializable,javax.servlet.jsp.tagext.IterationTag,javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.tagext.Tag,javax.servlet.jsp.tagext.TryCatchFinally
- Direct Known Subclasses:
PageExistsTag
public class NoSuchPageTag extends WikiTagBase
Includes the body in case there is no such page available.- Since:
- 2.0
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.wiki.tags.WikiTagBase
m_wikiContext
-
-
Constructor Summary
Constructors Constructor Description NoSuchPageTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdoWikiStartTag()This method is allowed to do pretty much whatever he wants.java.lang.StringgetPage()voidinitTag()This method is called when the tag is encountered within a new request, but before the setXXX() methods are called.voidsetPage(java.lang.String name)-
Methods inherited from class org.apache.wiki.tags.WikiTagBase
doCatch, doEndTag, doFinally, doStartTag, setId, setPageContext
-
-
-
-
Constructor Detail
-
NoSuchPageTag
public NoSuchPageTag()
-
-
Method Detail
-
initTag
public void initTag()
Description copied from class:WikiTagBaseThis method is called when the tag is encountered within a new request, but before the setXXX() methods are called. The default implementation does nothing.- Overrides:
initTagin classWikiTagBase
-
setPage
public void setPage(java.lang.String name)
-
getPage
public java.lang.String getPage()
-
doWikiStartTag
public int doWikiStartTag() throws java.io.IOException, ProviderException
Description copied from class:WikiTagBaseThis method is allowed to do pretty much whatever he wants. We then catch all mistakes.- Specified by:
doWikiStartTagin classWikiTagBase- Throws:
java.io.IOExceptionProviderException
-
-