Class MapToResourceConfigFromParentConfig
- java.lang.Object
-
- org.smooks.engine.resource.config.loader.xml.extension.MapToResourceConfigFromParentConfig
-
- All Implemented Interfaces:
ContentHandler
,DOMVisitBefore
,DOMVisitor
,Visitor
public class MapToResourceConfigFromParentConfig extends Object implements DOMVisitBefore
Map a property value from a parentResourceConfig
and onto the currentResourceConfig
. The value is set on theResourceConfig
returned from the top of theExtensionContext resourece stack
.- Author:
- tom.fennelly@gmail.com
-
-
Constructor Summary
Constructors Constructor Description MapToResourceConfigFromParentConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
postConstruct()
void
visitBefore(Element element, ExecutionContext executionContext)
Visit the supplied element before visiting its child elements.
-
-
-
Method Detail
-
postConstruct
@PostConstruct public void postConstruct() throws SmooksConfigException
- Throws:
SmooksConfigException
-
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.
-
-