public class NestedExecutionVisitor extends Object implements SAXVisitBefore, VisitLifecycleCleanable, Producer
Constructor and Description |
---|
NestedExecutionVisitor() |
Modifier and Type | Method and Description |
---|---|
void |
closeSmooksInstance() |
void |
executeVisitLifecycleCleanup(Fragment fragment,
ExecutionContext executionContext)
Cleanup the resources allocated by this resource for the specified ExecutionContext.
|
Set<? extends Object> |
getProducts()
Get the set of products produced by this producer instance.
|
void |
preRegBeanIds() |
void |
setSmooksConfig(String smooksConfig) |
void |
setSmooksInstance(Smooks smooksInstance) |
void |
visitBefore(SAXElement element,
ExecutionContext executionContext)
Visit the supplied element before visiting its child elements.
|
public void setSmooksConfig(String smooksConfig)
public void setSmooksInstance(Smooks smooksInstance)
@Initialize public void preRegBeanIds()
@Uninitialize public void closeSmooksInstance()
public void visitBefore(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException
SAXVisitBefore
visitBefore
in interface SAXVisitBefore
element
- The SAX element being visited.executionContext
- Execution context.SmooksException
- Event processing failure.IOException
- Error writing event to output writer.public Set<? extends Object> getProducts()
Producer
getProducts
in interface Producer
public void executeVisitLifecycleCleanup(Fragment fragment, ExecutionContext executionContext)
VisitLifecycleCleanable
executeVisitLifecycleCleanup
in interface VisitLifecycleCleanable
fragment
- The fragment.executionContext
- The ExecutionContext.Copyright © 2020. All rights reserved.