Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The primary goals of this example are to introduce you to the following:

  1. A very basic Fragment Transformer written in Java.
  2. The Smooks configuration file.
  3. Executing a Smooks Transformation.

The Fragment Transformer

Smooks is a Fragment based Transformation Framework. That means you can write (or reuse existing) Transformers that apply transformations on message fragments, as opposed to the message as a whole.

In this example we build a very simple (silly) fragment transformer in raw Java. Smooks supports applying transformations through a number of technologies (not just Java). However, underpinning all of these is the element Visitor. All transformation technologies supported by Smooks are hooked into the transformation process through an implementation of this interface.

The Smooks Configuration

Executing The Transformation

  • No labels