org.jwarp.service.web.dispatch.decode
Class DecodeParameterAlg

java.lang.Object
  |
  +--org.jwarp.service.web.dispatch.decode.DecodeParameterAlg
All Implemented Interfaces:
IConfigurable, IDecodeAlg

public class DecodeParameterAlg
extends java.lang.Object
implements IDecodeAlg


Field Summary
protected  java.lang.String actionParamName
          The action parameter name
protected  IContext context
          Service context reference
protected  LogWriter log
          Log file access writer for the application.
 
Constructor Summary
DecodeParameterAlg()
           
DecodeParameterAlg(java.lang.String actionParamName)
           
 
Method Summary
 void configure(org.jdom.Element config)
          Pass the Configuration to the Configurable class.
 DecodeResult decode(WebContext webContext)
           
 java.lang.String getActionID()
           
 void init(IContext context)
           
 void setActionID(java.lang.String name)
           
 void setLog(LogWriter log)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected IContext context
Service context reference

log

protected LogWriter log
Log file access writer for the application.

actionParamName

protected java.lang.String actionParamName
The action parameter name
Constructor Detail

DecodeParameterAlg

public DecodeParameterAlg()

DecodeParameterAlg

public DecodeParameterAlg(java.lang.String actionParamName)
Method Detail

init

public void init(IContext context)

configure

public void configure(org.jdom.Element config)
               throws ConfigurationException
Description copied from interface: IConfigurable
Pass the Configuration to the Configurable class. This method must always be called after the constructor and before any other method.
Specified by:
configure in interface IConfigurable
Following copied from interface: org.jwarp.service.configuration.IConfigurable
Parameters:
configuration - the class configurations.

setActionID

public void setActionID(java.lang.String name)
Specified by:
setActionID in interface IDecodeAlg

getActionID

public java.lang.String getActionID()
Specified by:
getActionID in interface IDecodeAlg

setLog

public void setLog(LogWriter log)

decode

public DecodeResult decode(WebContext webContext)
                    throws EncodingException
Specified by:
decode in interface IDecodeAlg

©   O R C A   S y s t e m s