Class MapToResourceConfigFromXml
- java.lang.Object
-
- org.smooks.engine.resource.config.loader.xml.extension.MapToResourceConfigFromXml
-
- All Implemented Interfaces:
ContentHandler
,DOMVisitBefore
,DOMVisitor
,Visitor
public class MapToResourceConfigFromXml extends Object implements DOMVisitBefore
Map a property value onto the currentResourceConfig
based on an elements text content. The value is set on theResourceConfig
returned from the top of theExtensionContext resourece stack
.- Author:
- tom.fennelly@gmail.com
-
-
Constructor Summary
Constructors Constructor Description MapToResourceConfigFromXml()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-