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
SAXVisitBeforevisitBefore in interface SAXVisitBeforeelement - 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
SAXVisitAftervisitAfter in interface SAXVisitAfterelement - 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()
ProducergetProducts in interface ProducerCopyright © 2020. All rights reserved.