org.milyn.cdr.extension
Class MapToResourceConfigFromAttribute

java.lang.Object
  extended by org.milyn.cdr.extension.MapToResourceConfigFromAttribute
All Implemented Interfaces:
ContentHandler, DOMVisitBefore, DOMVisitor, Visitor

public class MapToResourceConfigFromAttribute
extends Object
implements DOMVisitBefore

Map a property value onto the current SmooksResourceConfiguration based on an element attribute value.

The value is set on the SmooksResourceConfiguration returned from the top of the ExtensionContext resourece stack.

Author:
tom.fennelly@gmail.com

Constructor Summary
MapToResourceConfigFromAttribute()
           
 
Method Summary
 void visitBefore(Element element, ExecutionContext executionContext)
          Visit the supplied element before visiting its child elements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapToResourceConfigFromAttribute

public MapToResourceConfigFromAttribute()
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 interface DOMVisitBefore
Parameters:
element - The DOM element being visited.
executionContext - Request relative instance.
Throws:
SmooksException - Element processing failure.


Copyright © 2008. All Rights Reserved.