commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark R. Diggory" <mdigg...@latte.harvard.edu>
Subject Re: [Jelly] Creating Classes
Date Tue, 14 Jan 2003 05:10:29 GMT
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





dion@multitask.com.au 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" <mdiggory@latte.harvard.edu> 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:commons-user-unsubscribe@jakarta.apache.org>
> 
>>For additional commands, e-mail: 
> 
> <mailto:commons-user-help@jakarta.apache.org>
> 
> 
>>ForwardSourceID:NT000A2906 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:commons-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:commons-user-help@jakarta.apache.org>
> 


Mime
View raw message