public class SetAttributeTU extends Object implements DOMElementVisitor
<smooks-resource useragent="device/profile" selector="target-element-name" path="org.milyn.cdres.trans.SetAttributeTU"> <!-- The name of the element attribute to be set. --> <param name="attributeName">attribute-name</param> <!-- The value of the element attribute to be set. --> <param name="attributeValue">attribute-value</param> <!-- (Optional) Overwrite existing attributes of the same name. Default false. --> <param name="overwrite">true/false</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
.Constructor and Description |
---|
SetAttributeTU() |
Modifier and Type | Method and Description |
---|---|
void |
visitAfter(Element element,
ExecutionContext executionContext)
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 executionContext)
DOMVisitAfter
visitAfter
in interface DOMVisitAfter
element
- The DOM element being visited.executionContext
- Request relative instance.Copyright © 2020. All rights reserved.