org.milyn.cdr.extension
Class MapToResourceConfigFromParentConfig

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

public class MapToResourceConfigFromParentConfig
extends Object
implements DOMVisitBefore

Map a property value from a parent SmooksResourceConfiguration and onto the current SmooksResourceConfiguration.

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

Author:
tom.fennelly@gmail.com

Constructor Summary
MapToResourceConfigFromParentConfig()
           
 
Method Summary
 void initialize()
           
 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

MapToResourceConfigFromParentConfig

public MapToResourceConfigFromParentConfig()
Method Detail

initialize

@Initialize
public void initialize()
                throws SmooksConfigurationException
Throws:
SmooksConfigurationException

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.