public class TerminateVisitor extends Object implements SAXVisitBefore, SAXVisitAfter, Producer
Constructor and Description |
---|
TerminateVisitor() |
Modifier and Type | Method and Description |
---|---|
Set<?> |
getProducts()
Get the set of products produced by this producer instance.
|
TerminateVisitor |
setTerminateBefore(boolean terminateBefore) |
void |
visitAfter(SAXElement element,
ExecutionContext executionContext)
Visit the supplied element after visiting its child elements.
|
void |
visitBefore(SAXElement element,
ExecutionContext executionContext)
Visit the supplied element before visiting its child elements.
|
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 void visitAfter(SAXElement element, ExecutionContext executionContext) throws SmooksException, IOException
SAXVisitAfter
visitAfter
in interface SAXVisitAfter
element
- The SAX element being visited.executionContext
- Execution context.SmooksException
- Event processing failure.IOException
- Error writing event to output writer.@ConfigParam(use=OPTIONAL) public TerminateVisitor setTerminateBefore(boolean terminateBefore)
terminateBefore
- the terminateBefore to setpublic Set<?> getProducts()
Producer
getProducts
in interface Producer
Copyright © 2020. All rights reserved.