All Packages Class Hierarchy This Package Previous Next Index
Think of DynamicTags as objects that make up intelligent blocks of a servlet page. The JSText Objects take care of passing Params objects to dynamic tags appearing on a template. All parameters should be passed to and from DynamicTags through Params objects. DynamicTag objects should be stateless, they should not be required to appear on a template in a certain order or should fail gracefully if they do.
Instead of creating a new DynamicTag for each bit of dynamic data, consider subclassing Params to make a special object that understand a particular set of tag names.
The philosophy behind the com.openly.dt package is to facilitate 100% clean separation of code from data in a servlet application. Templates invoke objects, and the servlet function should be restricted to initializing a Params object selecting the appropriate template
public abstract java.lang.String getValue(java.lang.String param, com.openly.util.Params params)
public abstract void writeValue(java.lang.String param, com.openly.util.Params params, java.io.OutputStream outputStream) throws java.io.IOException
All Packages Class Hierarchy This Package Previous Next Index