|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.directwebremoting.spring.ConverterConfig
public class ConverterConfig
The configuration for a Converter. It allows the specification of the following optional configuration parameters:
true
instructs DWR to use reflection modifiers to access private
members of objects
Constructor Summary | |
---|---|
ConverterConfig()
|
Method Summary | |
---|---|
void |
addExclude(java.lang.String method)
Convenience method for adding an exclude rule. |
void |
addInclude(java.lang.String method)
Convenience method for adding an include rule. |
java.util.List |
getExcludes()
Gets the list of method names to exclude for this creator. |
java.util.List |
getIncludes()
Gets the list of method names to include for this creator. |
java.lang.String |
getJavascriptClassName()
|
java.util.Map |
getParams()
The set of key/value pairs to provide further configuration. Note that these params are only used when setting the creator type and not when setting the creator directly. |
java.lang.String |
getType()
Gets the converter type. |
boolean |
isForce()
If true DWR will use reflection modifiers to access private members of objects |
void |
setExcludes(java.util.List excludes)
Sets the list of method names to exclude for this creator. |
void |
setForce(boolean force)
Instruct DWR to use reflection modifiers to access private members of objects |
void |
setIncludes(java.util.List includes)
Sets the list of method names to include for this creator. |
void |
setJavascriptClassName(java.lang.String javascriptClassName)
|
void |
setParams(java.util.Map params)
The set of key/value pairs to provide further configuration. Note that these params are only used when setting the creator type and not when setting the creator directly. |
void |
setType(java.lang.String converterType)
Sets the converter type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConverterConfig()
Method Detail |
---|
public java.lang.String getType()
public void setType(java.lang.String converterType)
converterType
- Sets the converter typepublic java.lang.String getJavascriptClassName()
public void setJavascriptClassName(java.lang.String javascriptClassName)
javascriptClassName
- the javascriptClassName to setpublic boolean isForce()
public void setForce(boolean force)
force
- - if true DWR will use reflection to access private members of objectspublic java.util.List getIncludes()
AccessControl.addIncludeRule(String, String)
public void setIncludes(java.util.List includes)
includes
- the list of method names to includeAccessControl.addIncludeRule(String, String)
public java.util.List getExcludes()
AccessControl.addExcludeRule(String, String)
public void setExcludes(java.util.List excludes)
excludes
- the list of method names to excludeAccessControl.addExcludeRule(String, String)
public void addInclude(java.lang.String method)
method
- the method to add the include rule for
java.lang.IllegalArgumentException
- in case the specified argument is nullpublic void addExclude(java.lang.String method)
method
- the method to add the exclude rule
java.lang.IllegalArgumentException
- in case the specified argument is nullpublic java.util.Map getParams()
public void setParams(java.util.Map params)
params
- The params to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |