org.milyn.cdr.extension
Class SetOnResourceConfig

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

public class SetOnResourceConfig
extends Object
implements DOMVisitBefore

Set a static value on 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
SetOnResourceConfig()
           
 
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

SetOnResourceConfig

public SetOnResourceConfig()
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.