commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman (JIRA)" <>
Subject [jira] Commented: (DIGESTER-135) Digester rules defined through Java5 Annotatations
Date Wed, 21 Oct 2009 15:52:59 GMT


James Carman commented on DIGESTER-135:

The builder API would be a chaining API like you've shown above, but I think I'd like to introduce
the idea of a "selector" for things such as text value of the element or attribute value of
an element:

builder.forPath("/persons/person").createObject(Person.class).setProperty("firstName", attribute("fname"));

This is just off the top of my head.

> Digester rules defined through Java5 Annotatations
> --------------------------------------------------
>                 Key: DIGESTER-135
>                 URL:
>             Project: Commons Digester
>          Issue Type: Improvement
>    Affects Versions: 2.1
>            Reporter: Simone Tripodi
>            Priority: Minor
>             Fix For: 2.1
>         Attachments: DigesterAnnotations.patch
> Taking inspiration by Google-Guice, JAXB and JPA's annotations, the existing package
can be extended adding some facilities to configure the commons-digester using the Java language
metadata annotations.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message