Class MapToResourceConfigFromAttribute
- java.lang.Object
-
- org.smooks.engine.resource.extension.MapToResourceConfigFromAttribute
-
- All Implemented Interfaces:
ContentHandler,DOMVisitBefore,DOMVisitor,Visitor
public class MapToResourceConfigFromAttribute extends Object implements DOMVisitBefore
Map a property value onto the currentResourceConfigbased on an element attribute value. The value is set on theResourceConfigreturned from the top of theExtensionContext resourece stack.- Author:
- tom.fennelly@gmail.com
-
-
Constructor Summary
Constructors Constructor Description MapToResourceConfigFromAttribute()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisitBefore(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: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.
-
-