public class NewResourceConfig extends Object implements DOMElementVisitor
SmooksResourceConfiguration
.
The new SmooksResourceConfiguration
is added to the ExtensionContext
.Modifier and Type | Field and Description |
---|---|
static String |
PARAMETER_TARGET_PROFILE |
Constructor and Description |
---|
NewResourceConfig() |
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 static final String PARAMETER_TARGET_PROFILE
public void visitBefore(Element element, ExecutionContext executionContext) throws SmooksException
DOMVisitBefore
visitBefore
in interface DOMVisitBefore
element
- The DOM element being visited.executionContext
- Request relative instance.SmooksException
- Element processing failure.public void visitAfter(Element element, ExecutionContext executionContext) throws SmooksException
DOMVisitAfter
visitAfter
in interface DOMVisitAfter
element
- The DOM element being visited.executionContext
- Request relative instance.SmooksException
- Element processing failure.Copyright © 2020. All rights reserved.