public class RemoveElement extends Object implements SAXVisitBefore, SAXVisitAfter, DOMVisitAfter
| Constructor and Description |
|---|
RemoveElement() |
| Modifier and Type | Method and Description |
|---|---|
RemoveElement |
setKeepChildren(boolean keepChildren) |
void |
visitAfter(Element element,
ExecutionContext executionContext)
Visit the supplied element after visiting its child elements.
|
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.
|
@ConfigParam(defaultVal="false") public RemoveElement setKeepChildren(boolean keepChildren)
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.public void visitAfter(Element element, ExecutionContext executionContext) throws SmooksException
DOMVisitAftervisitAfter in interface DOMVisitAfterelement - The DOM element being visited.executionContext - Request relative instance.SmooksException - Element processing failure.Copyright © 2020. All rights reserved.