Show Table of Contents
Chapter 12. Extending Smooks
12.1. APIs in Smooks
Note
Since JBoss Fuse 6.3, the Smooks component for SwitchYard is deprecated and will be removed in a future release of JBoss Fuse.
APIs
All existing Smooks functionality (Java Binding, EDI processing etc) is built through the extension of a number of well defined APIs.
The main extension points/APIs in Smooks are Reader and Visitor APIs:
- Reader APIs
- Those for processing Source/Input data (Readers) so as to make it consumable by other Smooks components as a series of well defined hierarchical events (based on the SAX event model) for all of the message fragments and sub-fragments.
- Visitor APIs
- Those for consuming the message fragment SAX Events produced by a Source/Input Reader.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.