Enumeration value to a method call

2011-10-29 Thread Luciano Greiner
Hello.

I have the following situation for a method call:

if "/batchX" found, create a BatchInput.class object and call setType
method on that passing an enumeration value as the only parameter.

The only way i found to perform this so far is by creating an
ObjectFactory class to create the target object and set the property
manually.

Is there any other way to pass the enumeration value so digester uses
it on a method call?

Thank you

Luciano

-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org



[ANNOUNCEMENT] Apache Commons Digester 3.1 released!

2011-10-29 Thread Simone Tripodi
The Apache Commons community is pleased to announce the Apache Commons
Digester 3.1 release!

The Apache Commons Digester package lets you configure an XML to Java
object mapping module which triggers certain actions called rules
whenever a particular pattern of nested XML elements is recognized.

Apache Commons Digester is available in either binary or source form
from the Digester downloads page:
http://commons.apache.org/digester/download_digester.cgi
When downloading the release, please check the signatures and md5 sums
using the values linked on the download page.

Apache Maven artifacts are available as well on Maven Central Repo:
http://search.maven.org/#artifactdetails%7Corg.apache.commons%7Ccommons-digester3%7C3.1%7Cjar

More information about Apache Commons Digester can be found at the
Digester main site at http://commons.apache.org/digester/

Changes in this version include:

New features:
o Use Java5 Concurrent APIs to asynchronous parse()  Issue: DIGESTER-150.


Have fun!
-Simo, on behalf of Apache Commons PMC

http://people.apache.org/~simonetripodi/
http://simonetripodi.livejournal.com/
http://twitter.com/simonetripodi
http://www.99soft.org/

-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org