Red Hat Training

A Red Hat training course is available for Red Hat Fuse

1.13. Filtering Process Selection

This is how Smooks selects a filtering process:
  • The DOM processing model is selected automatically if only the DOM visitor interface is applied (DOMElementVisitor and SerializationUnit).
  • If all visitor resources use only the SAX visitor interface (SAXElementVisitor), the SAX processing model is selected automatically.
  • If the visitor resources use both the DOM and SAX interfaces, the DOM processing model is selected by default unless you specify SAX in the Smooks resource configuration file. This is done using <core:filterSettings type="SAX" />.
Visitor resources do not include non-element visitor resources such as readers.