Instantiate and manipulate Java objects parsed from an Xml structure.
<?xml version="1.0" encoding="UTF-8" ?>
<script>
<vardef name="myObject">
<!-- instantiate the Java class with a no-args constructor -->
<construct class="ch.dvbern.oss.construct.SimpleFieldFixture"/>
</vardef>
<vardef name="field1">
<getfield name="field1">
<target>
<var name="myObject"/>
</target>
</getfield>
</vardef>
<setfield name="field2">
<target>
<var name="myObject"/>
</target>
<value>
<var name="field1"/>
</value>
</setfield>
<return>
<var name="myObject"/>
</return>
</script>
Using maven:
<dependency>
<groupId>ch.dvbern.oss.construct</groupId>
<artifactId>construct</artifactId>
<!-- see tags/master branch -->
<version>x.y.z</version>
</dependency>
- Maven - Dependency Management
Releases are made with jgitflow:
./mvnw jgitflow:release-start jgitflow:release-finish
Please read Contributing.md for the process for submitting pull requests to us.
One healthy social atmospehere is very important to us, wherefore we rate our Code of Conduct high. For details check the file CodeOfConduct.md
- DV Bern AG - Initial work - dvbern
See also the list of contributors who participated in this project.
This project is licensed under the Apache 2.0 License - see the License.md file for details.