org.onemind.commons.java.text
Interface TextGenerator
- All Known Implementing Classes:
- SimpleTextGenerator
- public interface TextGenerator
A simple interface for text generation.
The generator generates some text on a passed in regarding a target object.
- Author:
- TiongHiang Lee (thlee@onemindsoft.org)
Method Summary |
void |
generateText(java.lang.String spec,
java.lang.Object obj,
java.lang.StringBuffer sb)
Generate some text through the spec passed in |
generateText
public void generateText(java.lang.String spec,
java.lang.Object obj,
java.lang.StringBuffer sb)
- Generate some text through the spec passed in
- Parameters:
spec
- the specificationobj
- the target object where the text should be generate towards
- Returns:
- the text
Copyright © 2004-2006 . All Rights Reserved.