The struggle I have is that the new class/object needs to be introspectable using native java.lang.reflection utilities, I don't know if DynaBean can do this. Can it?

-Mark





[EMAIL PROTECTED] wrote:
Does it have to be a new class? How about a DynaBean?
--
dIon Gillard, Multitask Consulting
Blog: http://www.freeroller.net/page/dion/Weblog
Work: http://www.multitask.com.au


"Mark R. Diggory" <[EMAIL PROTECTED]> wrote on 14/01/2003 03:26:09 PM:


This is probibly a "stretch" but I thought I'd put it out there...

Are there any "taglibraries" or tools that would allow me to "design" a class in xml such that I could create it "mid-stream in my Jelly Script?

What I want is something where I can build an object and add getter/setter methods to it.

Something like:

<bean package="org.acme" name="FooBar" extends="java.lang.Object">
<property name="foo" class="java.lang.String"/>
<property name="bar" class="java.lang.Integer"/>
</bean>

then

<new var="foobar" className="org.acme.FooBar"/>

<set target="foobar" property="foo" value="hello world"/>


thanks for any Ideas.
-Mark


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>

For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


ForwardSourceID:NT000A2906

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to