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

java.lang.Object
  extended byIteratorTag
      extended byde.tuberlin.cs.flp.jspwiki.tags.CategoryIteratorTag

public class CategoryIteratorTag
extends IteratorTag

<wiki:CategoryIterator [id='...'] [page='...']>
    ...
</wiki:CategoryIterator>

Iterates over all categories in which the page set by parameter 'page' (or the current page if 'page' is ommitted) is member. The Java variable in which the category name appears can be set by parameter id.

See Also:
Serialized Form

Field Summary
static java.lang.String DEFAULT_ID
           
protected  java.lang.String m_pageName
          The name of the page which is tested whether it refers to the current page.
 
Constructor Summary
CategoryIteratorTag()
           
 
Method Summary
 int doAfterBody()
           
 int doStartTag()
           
 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

DEFAULT_ID

public static final java.lang.String DEFAULT_ID
See Also:
Constant Field Values

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

CategoryIteratorTag

public CategoryIteratorTag()
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:

doStartTag

public int doStartTag()
Returns:

doAfterBody

public final int doAfterBody()
Returns: