org.jboss.soa.esb.notification
Class MacroExpander
java.lang.Object
org.jboss.soa.esb.notification.MacroExpander
public class MacroExpander
- extends java.lang.Object
MacroExpander class.
This class takes a DOM and iterates over it, replacing all "macro" tokens in
any attribute values using the values from the supplied Map.
- Author:
- Esteban Shifman
Method Summary |
static void |
replaceMacros(DomElement domTree,
java.util.Map replacementTokenMapMap)
Perform a macro replacement on the DOM tree attribute values
of the supplied DomElement using the supplied macro token
replacement map. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CTX_BATCH_UID
public static final java.lang.String CTX_BATCH_UID
- See Also:
- Constant Field Values
CTX_BATCH_NUM
public static final java.lang.String CTX_BATCH_NUM
- See Also:
- Constant Field Values
CTX_INPUT_FILE
public static final java.lang.String CTX_INPUT_FILE
- See Also:
- Constant Field Values
CTX_POST_FILE
public static final java.lang.String CTX_POST_FILE
- See Also:
- Constant Field Values
MacroExpander
public MacroExpander()
replaceMacros
public static void replaceMacros(DomElement domTree,
java.util.Map replacementTokenMapMap)
- Perform a macro replacement on the DOM tree attribute values
of the supplied DomElement using the supplied macro token
replacement map.
- Parameters:
domTree
- The DOM Tree to be operated on.replacementTokenMapMap
- The token replacement map.