pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.site
Class RedirectConfigCase

java.lang.Object
  extended by org.torweg.pulse.site.RedirectConfigCase
All Implemented Interfaces:
INamed

public class RedirectConfigCase
extends java.lang.Object
implements INamed

the case for RedirectConfiguration.

Version:
$Revision: 1396 $
Author:
Daniel Dietz

Constructor Summary
RedirectConfigCase()
          creates a RedirectConfigurationCase.
RedirectConfigCase(java.lang.String n)
          creates a RedirectConfigurationCase with a given name.
 
Method Summary
 java.lang.String getName()
          returns the name of the case.
 CommandBuilder getRedirectCommandBuilder(java.lang.String n)
          returns the redirect CommandBuilder.
 java.lang.String getRedirectURI(java.lang.String n)
          returns the redirect URI.
protected  void putRedirectCommandBuilder(java.lang.String n, CommandBuilder builder)
          adds the redirect CommandBuilder.
protected  void putRedirectURI(java.lang.String n, java.lang.String uri)
          sets the redirect URI for the case.
protected  void setName(java.lang.String n)
          sets the name of the case.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectConfigCase

public RedirectConfigCase()
creates a RedirectConfigurationCase.


RedirectConfigCase

public RedirectConfigCase(java.lang.String n)
creates a RedirectConfigurationCase with a given name.

Parameters:
n - the name
Method Detail

getName

public final java.lang.String getName()
returns the name of the case.

Specified by:
getName in interface INamed
Returns:
the name of the case

setName

protected final void setName(java.lang.String n)
sets the name of the case.

Parameters:
n - the name

getRedirectURI

public final java.lang.String getRedirectURI(java.lang.String n)
returns the redirect URI.

Parameters:
n - the name of the redirect-URI used in the configuration-XML
Returns:
the redirect URI

putRedirectURI

protected final void putRedirectURI(java.lang.String n,
                                    java.lang.String uri)
sets the redirect URI for the case.

Parameters:
n - the name of the redirect-URI used in the configuration-XML
uri - the URI

getRedirectCommandBuilder

public final CommandBuilder getRedirectCommandBuilder(java.lang.String n)
returns the redirect CommandBuilder.

Parameters:
n - the name of the redirect-URI used in the configuration-XML
Returns:
the redirect CommandBuilder

putRedirectCommandBuilder

protected final void putRedirectCommandBuilder(java.lang.String n, CommandBuilder builder)
adds the redirect CommandBuilder.

Parameters:
n - the name of the redirect-URI used in the configuration-XML
builder - the redirect CommandBuilder