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 [Jelly] Creating Classes
Date Tue, 14 Jan 2003 04:26:09 GMT
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


Mime
View raw message