Skip to content

Instanzieren von Java Objekten aus einer XML Struktur heraus

License

Notifications You must be signed in to change notification settings

dvbern/construct

Repository files navigation

construct

⚠️This library should not be used for new projects ⚠️

Instantiate and manipulate Java objects parsed from an Xml structure.

Getting Started

<?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>

Installing

Using maven:

<dependency>
	<groupId>ch.dvbern.oss.construct</groupId>
	<artifactId>construct</artifactId>
	<!-- see tags/master branch -->
	<version>x.y.z</version>
</dependency>

Built With

  • Maven - Dependency Management

Release

Releases are made with jgitflow:

./mvnw jgitflow:release-start jgitflow:release-finish

Contributing Guidelines

Please read Contributing.md for the process for submitting pull requests to us.

Code of Conduct

One healthy social atmospehere is very important to us, wherefore we rate our Code of Conduct high. For details check the file CodeOfConduct.md

Authors

  • DV Bern AG - Initial work - dvbern

See also the list of contributors who participated in this project.

License

This project is licensed under the Apache 2.0 License - see the License.md file for details.

About

Instanzieren von Java Objekten aus einer XML Struktur heraus

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages