public class RemoveElementTU extends Object implements DOMElementVisitor
DomUtils.removeElement(org.w3c.dom.Element, boolean)
.
<smooks-resource useragent="device/profile" selector="target-element-name" path="org.milyn.cdres.trans.RemoveElementTU" > <!-- (Optional) Keep child content. Default is true. --> <param name="keepChildContent">true/false</param> </smooks-resource>See
SmooksResourceConfiguration
.Constructor and Description |
---|
RemoveElementTU() |
Modifier and Type | Method and Description |
---|---|
void |
visitAfter(Element element,
ExecutionContext request)
Visit the supplied element after visiting its child elements.
|
void |
visitBefore(Element element,
ExecutionContext executionContext)
Visit the supplied element before visiting its child elements.
|
public void visitBefore(Element element, ExecutionContext executionContext)
DOMVisitBefore
visitBefore
in interface DOMVisitBefore
element
- The DOM element being visited.executionContext
- Request relative instance.public void visitAfter(Element element, ExecutionContext request)
DOMVisitAfter
visitAfter
in interface DOMVisitAfter
element
- The DOM element being visited.request
- Request relative instance.Copyright © 2020. All rights reserved.