org.directwebremoting.spring
Class ConverterConfig

java.lang.Object
  extended by org.directwebremoting.spring.AbstractConfig
      extended by org.directwebremoting.spring.ConverterConfig

public class ConverterConfig
extends AbstractConfig

The configuration for a Converter. It allows the specification of the following optional configuration parameters:

Author:
Brendan Grainger, Joe Walker [joe at getahead dot ltd dot uk]

Constructor Summary
ConverterConfig()
           
 
Method Summary
 java.lang.String getJavascriptClassName()
           
 java.lang.String getType()
          Gets the converter type.
 boolean isForce()
          If true DWR will use reflection modifiers to access private members of objects
 void setForce(boolean force)
          Instruct DWR to use reflection modifiers to access private members of objects
 void setJavascriptClassName(java.lang.String javascriptClassName)
           
 void setType(java.lang.String converterType)
          Sets the converter type.
 
Methods inherited from class org.directwebremoting.spring.AbstractConfig
addExclude, addInclude, getExcludes, getIncludes, getParams, setExcludes, setIncludes, setParams
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConverterConfig

public ConverterConfig()
Method Detail

getType

public java.lang.String getType()
Gets the converter type.

Returns:
Returns the converter type

setType

public void setType(java.lang.String converterType)
Sets the converter type.

Parameters:
converterType - Sets the converter type

getJavascriptClassName

public java.lang.String getJavascriptClassName()
Returns:
the javascriptClassName

setJavascriptClassName

public void setJavascriptClassName(java.lang.String javascriptClassName)
Parameters:
javascriptClassName - the javascriptClassName to set

isForce

public boolean isForce()
If true DWR will use reflection modifiers to access private members of objects

Returns:
- Returns whether to use reflection for accessing private members

setForce

public void setForce(boolean force)
Instruct DWR to use reflection modifiers to access private members of objects

Parameters:
force - - if true DWR will use reflection to access private members of objects

Copyright 2008