Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.sapia.util.text;


Renders parsed data from a TemplateFactoryIF.

Author(s):
JC Desrochers.
Copyright:
Copyright &.169; 2002-2003 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site
public interface TemplateElementIF {
  
Renders this template element using the template context passed in and returns the result in a new string.

Parameters:
aContext The template context to use in the rendering process.
Returns:
The result of the rendering operation as a new string.
Throws:
TemplateException If an error occurs rendering this template element.
  public String render(TemplateContextIF aContextthrows TemplateException;

  
Renders this template element using the template context passed in and appending the result in the string buffer passed in.

Parameters:
aContext The template context to use in the rendering process.
Throws:
TemplateException If an error occurs rendering this template element.
  public void render(TemplateContextIF aContextStringBuffer aBuffer)
    throws TemplateException;
New to GrepCode? Check out our FAQ X