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 parentResourceConfigand onto the currentResourceConfig. The value is set on theResourceConfigreturned 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 voidpostConstruct()voidvisitBefore(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:DOMVisitBeforeVisit the supplied element before visiting its child elements.- Specified by:
visitBeforein interfaceDOMVisitBefore- Parameters:
element- The DOM element being visited.executionContext- Request relative instance.- Throws:
SmooksException- Element processing failure.
-
-