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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void generateText​(java.lang.String spec, java.lang.Object obj, java.lang.StringBuffer sb)
      Generate some text through the spec passed in
    • Method Detail

      • generateText

        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 specification
        obj - the target object where the text should be generate towards