You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Apache Wiki <wi...@apache.org> on 2005/05/11 07:23:07 UTC

[Jakarta-commons Wiki] Update of "Digester/TODO" by SimonKitching

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jakarta-commons Wiki" for change notification.

The following page has been changed by SimonKitching:
http://wiki.apache.org/jakarta-commons/Digester/TODO

The comment on the change is:
Add todo for beanutilsbean-per-digester-instance suggestion

------------------------------------------------------------------------------
       See: http://www.mail-archive.com/commons-user%40jakarta.apache.org/msg10012.html
  
  == Possible ==
+ 
+ === Have BeanUtilsBean instance per Digester ===
+ Currently, in order to change the way Digester rules perform datatype conversions, it is necessary to register custom
+ converters with the global ConvertUtilsBean, thus affecting all code in the same webapp.
+ 
+ Adding a Digester.setBeanUtilsBean(beanUtilsBean) method would allow users to control this behaviour on a
+ per-digester-instance level. The default would be to use the global beanUtilsBean if none is set.
+ 
+ However all Rule classes would need to be updated to get the beanUtilsBean from the digester object instead
+ of using the static BeanUtils and ConvertUtils methods.
  
  === Refactor CallParamRule ===
  Refactor the !CallParamRule to break out the separate pieces of functionality into separate rules. Perhaps give them a consistent naming standard, like: "CallParamWithXXXRule".
@@ -284, +294 @@

  
  Up to [:Digester]
  
- 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org