此内容没有您所选择的语言版本。
12.13. A Basic Initialization/Un-initialization Sequence
This is a basic initialization/un-initialization sequence:
smooks = new Smooks(..); // Initialize all annotated components @Initialize // Use the smooks instance through a series of filterSource invocations... smooks.filterSource(...); smooks.filterSource(...); smooks.filterSource(...); ... etc ... smooks.close(); // Uninitialize all annotated components @Uninitialize