| java.lang.Object za.org.coefficient.util.ejb.VelocityScreenUtil
VelocityScreenUtil | public class VelocityScreenUtil (Code) | | DOCUMENT ME!
author: $author$ version: $Revision: 1.3 $ |
getCallingClassPackage | public static String getCallingClassPackage()(Code) | | |
getProcessedScreen | public static StringBuffer getProcessedScreen(String templateName, Map context)(Code) | | This method will look for the template name on the classpath and if
found merge it with the data provided in the map. The result is returned
as a StringBuffer.
Parameters: templateName - identifies the template that shouldbe merged. If the template is not found or there is a parsingerror in the template or there is a method invocation errorwhile parsing the template then the return value will be null.It is assumed that this template will be found in the classpathin the same package space as the caller plus a level deepercalled templates Parameters: context - is a map containing all the mappings that are to bemerged into the template. StringBuffer containing the result of the merge, null if therewere any exceptions thrown during the merge. |
getProcessedScreenFullyQualified | public static StringBuffer getProcessedScreenFullyQualified(String fullyQualifiedTemplateName, Map context)(Code) | | |
getProcessedString | public static StringBuffer getProcessedString(String inString, Map context)(Code) | | This method will look for the template name on the classpath and if
found merge it with the data provided in the map. The result is returned
as a StringBuffer.
Parameters: inString - is a string containing velocity code that will be merged Parameters: context - is a map containing all the mappings that are to bemerged into the template. StringBuffer containing the result of the merge, null if therewere any exceptions thrown during the merge. |
|
|