org.milyn.cdres.trans
Class RemoveAttributeTU
java.lang.Object
org.milyn.cdres.trans.RemoveAttributeTU
- All Implemented Interfaces:
- ContentHandler, DOMElementVisitor, DOMVisitAfter, DOMVisitBefore, DOMVisitor, Visitor
public class RemoveAttributeTU
- extends Object
- implements DOMElementVisitor
Removes a DOM element attribute during the processing phase.
.cdrl Configuration
<smooks-resource useragent="device/profile" selector="target-element-name"
path="org.milyn.cdres.trans.RemoveAttributeTU">
<!-- The name of the element attribute to be removed. -->
<param name="attributeName">attribute-name</param>
<!-- (Optional) Visit the target element before iterating over the elements
child content. Default false. -->
<param name="visitBefore">true/false</param>
</smooks-resource>
See SmooksResourceConfiguration.
- Author:
- tfennelly
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveAttributeTU
public RemoveAttributeTU()
visitBefore
public void visitBefore(Element element,
ExecutionContext executionContext)
- Specified by:
visitBefore in interface DOMVisitBefore
visitAfter
public void visitAfter(Element element,
ExecutionContext request)
- Specified by:
visitAfter in interface DOMVisitAfter
Copyright © 2011. All Rights Reserved.