de.tuberlin.cs.flp.jspwiki.tags
Class IsCategoryTag

java.lang.Object
  extended byWikiTagBase
      extended byde.tuberlin.cs.flp.jspwiki.tags.IsCategoryTag

public class IsCategoryTag
extends WikiTagBase

<wiki:IsCategory [page='...']>
    ...
</wiki:IsCategory>

Evaluates the tag-body if the page is a category page. Default for parameter page is this page.

See Also:
Serialized Form

Field Summary
protected  java.lang.String m_pageName
          The name of the page which is tested whether it refers to the current page.
 
Constructor Summary
IsCategoryTag()
           
 
Method Summary
 int doWikiStartTag()
           
 java.lang.String getPage()
          Returns the page name.
 void setPage(java.lang.String page)
          Sets the page name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_pageName

protected java.lang.String m_pageName
The name of the page which is tested whether it refers to the current page.

Constructor Detail

IsCategoryTag

public IsCategoryTag()
Method Detail

setPage

public void setPage(java.lang.String page)
Sets the page name.

Parameters:
page - The page name.

getPage

public java.lang.String getPage()
Returns the page name.

Returns:

doWikiStartTag

public int doWikiStartTag()
Returns: