Class CloneResourceConfig
- java.lang.Object
-
- org.smooks.engine.resource.config.loader.xml.extension.CloneResourceConfig
-
- All Implemented Interfaces:
ContentHandler
,DOMElementVisitor
,DOMVisitAfter
,DOMVisitBefore
,DOMVisitor
,Visitor
public class CloneResourceConfig extends Object implements DOMElementVisitor
Create a newResourceConfig
by cloning the current resource. The clonedResourceConfig
is added to theExtensionContext
.- Author:
- tom.fennelly@gmail.com
-
-
Constructor Summary
Constructors Constructor Description CloneResourceConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
visitBefore
public void visitBefore(Element element, ExecutionContext executionContext) throws SmooksException
Description copied from interface:DOMVisitBefore
Visit the supplied element before visiting its child elements.- Specified by:
visitBefore
in interfaceDOMVisitBefore
- Parameters:
element
- The DOM element being visited.executionContext
- Request relative instance.- Throws:
SmooksException
- Element processing failure.
-
visitAfter
public void visitAfter(Element element, ExecutionContext executionContext) throws SmooksException
Description copied from interface:DOMVisitAfter
Visit the supplied element after visiting its child elements.- Specified by:
visitAfter
in interfaceDOMVisitAfter
- Parameters:
element
- The DOM element being visited.executionContext
- Request relative instance.- Throws:
SmooksException
- Element processing failure.
-
-