...
| Table of Contents | ||||
|---|---|---|---|---|
|
SVN - Download - Other Tutorials
Other Relevant Info:
...
| No Format |
|---|
Smooks smooks = new Smooks("smooks-config.xml");
StandaloneExecutionContextStringResult executionContextresult = smooks.createExecutionContextnew StringResult();
smooks.filter(new StreamSource(new InputStreamReader(new ByteArrayInputStream(messageIn), "UTF-8")), new StreamResult(writer), executionContext)result);
|
Of course, you'd typically cache the Smooks instance.
...