commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luciano Greiner <luciano.grei...@gmail.com>
Subject Enumeration value to a method call
Date Sun, 30 Oct 2011 00:26:34 GMT
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-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message