13.8. The XMLBinding Class


The XMLBinding class is a special utility wrapper class around the Smooks runtime. It is designed specifically for reading and writing XML data to and from Java Object models using nothing more than standard <jb:bean> configurations. It allows users to leverage frameworks like JAXB or JiBX (read and write between Java and XML using a single configuration), but with the added advantage of being able to easily handle multiple versions of an XML schema/model in a single Java model. Users can read and write multiple versions of an XML message into a single Java object model. Messages can be transformed from one version to another by reading the XML into the common Java object model using an XMLBinding instance configured for one version of the XML, and then writing those Java objects back out using an XMLBinding instance configured for the other version of the XML.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.