org.tigris.scarab.screens
Class ModuleSwitchingLink

java.lang.Object
  extended byorg.apache.turbine.DynamicURI
      extended byorg.apache.turbine.tool.TemplateLink
          extended byorg.tigris.scarab.util.ScarabLink
              extended byorg.tigris.scarab.screens.ModuleSwitchingLink
All Implemented Interfaces:
org.apache.turbine.services.pull.ApplicationTool, org.apache.fulcrum.pool.InitableRecyclable, org.apache.fulcrum.pool.Recyclable, SkipFiltering

public class ModuleSwitchingLink
extends ScarabLink

Author:
hdab To change the template for this generated type comment go to Window - Preferences - Java - Code Generation - Code and Comments

Field Summary
 
Fields inherited from class org.apache.turbine.tool.TemplateLink
TEMPLATE_KEY
 
Fields inherited from class org.apache.turbine.DynamicURI
ANCHOR_STATIC_PART_LENGTH, HTTP, HTTPS, PATH_INFO, pathInfo, QUERY_DATA, queryData, redirect, res
 
Constructor Summary
ModuleSwitchingLink(org.apache.turbine.RunData data)
           
 
Method Summary
protected  void addPair(java.util.ArrayList list, java.lang.String name, java.lang.String value)
          Add a key value pair (in the form of a 2 object array) to the provided list
 org.apache.turbine.tool.TemplateLink setPage(java.lang.String moduleId)
          override super method and make it public
 
Methods inherited from class org.tigris.scarab.util.ScarabLink
addPathInfo, addPathInfo, addPathInfo, dispose, getCurrentView, getIssueIdAbsoluteLink, getIssueIdLink, getRunData, getScriptName, getServerName, getServerPort, getServerScheme, init, isAllowed, isAllowed, isDisposed, omitModule, overrideSecurity, recycle, refresh, setAlternateText, setAttributeText, setLabel, setPage, setPathInfo, toString
 
Methods inherited from class org.apache.turbine.tool.TemplateLink
getPage, getURI, setAbsolute, setEncodeURLOff
 
Methods inherited from class org.apache.turbine.DynamicURI
add, add, add, addPathInfo, addPathInfo, addPathInfo, addPathInfo, addPathInfo, addPathInfo, addQueryData, addQueryData, addQueryData, addQueryData, addQueryData, addQueryData, getA, hasPathInfo, hasQueryData, init, init, isEncodeUrl, isRelative, remove, removePairByName, removePathInfo, removePathInfo, removeQueryData, removeQueryData, renderPairs, renderPathInfo, renderPathInfo, renderQueryString, renderQueryString, setAction, setEncodeUrl, setRedirect, setRelative, setScreen, setSecure, setSecure, setTemplate, toString, toString, writeEncoded, writeFastEncoded
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ModuleSwitchingLink

public ModuleSwitchingLink(org.apache.turbine.RunData data)
Method Detail

setPage

public org.apache.turbine.tool.TemplateLink setPage(java.lang.String moduleId)
override super method and make it public

Overrides:
setPage in class ScarabLink
Parameters:
moduleId - A String with the template name.
Returns:
A TemplateLink.

addPair

protected void addPair(java.util.ArrayList list,
                       java.lang.String name,
                       java.lang.String value)
Add a key value pair (in the form of a 2 object array) to the provided list

Parameters:
list - List to add to.
name - A String with the name to add.
value - A String with the value to add.


Copyright © 2000-2004 Tigris.org. All Rights Reserved.