Method Summary |
|
public boolean | getAdmin() If a page is a part of the admin tool then this method will return
true . |
public String | getContentJsp() Retrieve the name of the JSP page that will be used to display the
results of this page request. |
public String | getMetaDescription() Return a description for the current page that can be used in an HTML
meta tag. |
public String | getNamespace() Return the namespace of the topic displayed by the current page. |
public WikiMessage | getPageTitle() Return the title for the current page. |
public String | getPagename() Return the name of the page, i.e. |
public String | getPrintTarget() If printable pages should open in a new window then this method will
return the HTML target "_blank", otherwise this method returns an
empty String. |
public String | getRSSTitle() Return the base title used with RSS feeds. |
public String | getRedirectName() If the topic currently being displayed is the result of a redirect from
another topic, return the name of the topic that is being redirected
from. |
public boolean | getSpecial() Return a flag indicating whether or not the current page is a "Special:"
page, as opposed to a standard topic. |
public LinkedHashMap | getTabMenu() Return a LinkedHashMap containing the topic and text for all links
that should appear for the tab menu. |
public String | getTopicName() Return the name of the topic being displayed by the current page. |
public LinkedHashMap | getUserMenu() Return a LinkedHashMap containing the topic and text for all links
that should appear for the user menu. |
public boolean | isUserPage() |
protected void | reset() Reset all parameters of the current WikiPageInfo object
to default values. |
public void | setAdmin(boolean admin) Set a flag indicating whether or not the page being displayed is a part
of the admin tool. |
public void | setContentJsp(String contentJsp) Set the JSP page that will display the results of this page request. |
public void | setPageTitle(WikiMessage pageTitle) Set the title for the current page. |
public void | setRedirectName(String redirectName) If the topic currently being displayed is the result of a redirect from
another topic, set the name of the topic that is being redirected
from. |
public void | setSpecial(boolean special) Set a flag indicating whether or not the current page is a "Special:"
page, as opposed to a standard topic. |
public void | setTabMenu(LinkedHashMap tabMenu) Set a LinkedHashMap containing the topic and text for all links
that should appear for the tab menu. |
public void | setTopicName(String topicName) Set the name of the topic being displayed by the current page. |
public void | setUserMenu(LinkedHashMap userMenu) Set a LinkedHashMap containing the topic and text for all links
that should appear for the user menu. |