echopointng.template
Interface TemplateTextSubstitution

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
SimpleTemplateTextSubstitution

public interface TemplateTextSubstitution
extends java.io.Serializable

This interface is used substitue named "text tags" in the template markup with variable Strings.

A single TemplateTextSubstitution can be used by more than one TemplatePanel. This helps reduce the memory footprint of the template text subsitution. An implementation of this interface must keep the requirement in mind.


Method Summary
 java.lang.String getSubstitutionText(java.lang.String substitutionName)
          This method is called to return a String that has been associated with the given substitution name.
 

Method Detail

getSubstitutionText

java.lang.String getSubstitutionText(java.lang.String substitutionName)
This method is called to return a String that has been associated with the given substitution name. If the name is unknown, then null should be returned.