Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
COPYRIGHT
|
static java.lang.String | END
HTML content end
|
static java.lang.String | HEAD
HTML content head
|
Constructor and Description |
---|
TagEngineImpl()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String | parse(java.lang.String inputString)
This method parses the given input string, looking for predefined tags and replaces them with the values returned by getTagValue method calls.
|
java.util.Map | parseToGetTagNameValueMap(java.lang.String inputString)
Parses the given input string looking for the map of the predefined tags and their values returned by getTagValue() method calls.
|
java.lang.String | renderEmailContent(java.lang.String inputString)
This method calls parse(inputString) function to replace the predefined tags with the tag replacement values.
|
java.lang.String | renderEmailContent(java.lang.String inputString, java.util.Hashtable parameters)
This method calls parse(inputString) function to replace the predefined tags with the tag replacement values.
|
void | setCommandContext(CommandContext cmdContext)
Sets the Command Context
|
void | setTagParameters(java.util.Hashtable tagParametersCopy)
This method sets the tag parameters (key - value pair)
|
void | setTagParameters(java.lang.String name, java.lang.String value)
Sets the key - value pair for the tag..
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String HEAD
public static final java.lang.String END
public void setCommandContext(CommandContext cmdContext)
public java.lang.String renderEmailContent(java.lang.String inputString, java.util.Hashtable parameters) throws ECException
public java.lang.String renderEmailContent(java.lang.String inputString) throws ECException
public java.lang.String parse(java.lang.String inputString) throws ECException
public java.util.Map parseToGetTagNameValueMap(java.lang.String inputString) throws ECException
public void setTagParameters(java.util.Hashtable tagParametersCopy)
public void setTagParameters(java.lang.String name, java.lang.String value)