commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (Reopened) (JIRA)" <>
Subject [jira] [Reopened] (DIGESTER-153) Add Constructor support to ObjectCreateRule
Date Fri, 11 Nov 2011 10:10:52 GMT


Simone Tripodi reopened DIGESTER-153:

Unfortunately the LazyLoader still fails under certain circumstances: imagine an XML snippet

  <bean double="9.99">

and the mapped bean is of the type

class MyBean

  private float floatProperty;

  public MyBean( double doubleProperty, boolean booleanProperty )

what happens is that not all constructor parameters are correctly collected because the object
is created in the {{begin()}} method when {{toplevel/bean}} matches.

I don't know at that oint if it is possible creating a Stub that simply collects methods that
can be called when invoking the {{end()}} method when {{toplevel/bean}} element is closed...
> Add Constructor support to ObjectCreateRule
> -------------------------------------------
>                 Key: DIGESTER-153
>                 URL:
>             Project: Commons Digester
>          Issue Type: Improvement
>    Affects Versions: 3.2
>            Reporter: Simone Tripodi
>            Assignee: Simone Tripodi
>             Fix For: 3.2
> As shown in the past, the stack method of Digester has some [limitations |]
for fully support the Constructors - it basically cannot use elements in the body as constructor
arguments - but it could support arguments extracted from attributes. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message