I’ve created a class that initializes a DynaClass from an XML file.  I’ve attached the source code, a simple JUnit TestCase, and a sample XML file for use with the JUnit TestCase.

 

Brad Handy

<?xml version="1.0" encoding="UTF-8"?>

<!--
    Document   : test-dyna-bean.xml
    Created on : January 29, 2003, 3:46 PM
    Author     : bhandy
    Description:
        Purpose of the document follows.
-->

<dyna-bean>
    <property name="testID" classname="java.lang.Integer" />
    <property name="testString" classname="java.lang.String" />
    <property name="testMap" classname="java.util.Map" />
    <property name="testList" classname="java.util.List" />
    <property name="testArray" classname="java.lang.String[]" />
</dyna-bean>

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

Reply via email to