| com.metaboss.sdlctools.services.jdktools.BSVelocityTemplateProcessor
All known Subclasses: com.metaboss.sdlctools.services.jdktools.impl.BSVelocityTemplateProcessorImpl,
BSVelocityTemplateProcessor | public interface BSVelocityTemplateProcessor (Code) | | This component provides Velocity template processing service.
Velocity is an Open Source template engine produced by Apache Software Foundation
See Apache Web Site for more information on Velocity.
|
Method Summary | |
public MergeResult | mergeTemplate(String pSourceTemplate, String pSourceTemplateName, java.util.Map pContextMap) Merges given template with given set of properties.
Parameters: pSourceTemplate - the buffer with template in it Parameters: pSourceTemplateName - the unique name of the template - used in logging, may also be used incaching, so the caller must make sure that the same template always has exact same name Parameters: pContextMap - the context map to pass to the template processor. |
COMPONENT_URL | final public static String COMPONENT_URL(Code) | | Naming URL of the component
|
mergeTemplate | public MergeResult mergeTemplate(String pSourceTemplate, String pSourceTemplateName, java.util.Map pContextMap) throws BSException(Code) | | Merges given template with given set of properties.
Parameters: pSourceTemplate - the buffer with template in it Parameters: pSourceTemplateName - the unique name of the template - used in logging, may also be used incaching, so the caller must make sure that the same template always has exact same name Parameters: pContextMap - the context map to pass to the template processor. MergeResult contains the result of the requested operation |
|
|