Class TextNode

  • All Implemented Interfaces:
    IGeneratorNode

    public class TextNode
    extends java.lang.Object
    implements IGeneratorNode
    A text node is a leaf in the code generator tree and produces arbitrary text.
    • Constructor Summary

      Constructors 
      Constructor Description
      TextNode​(java.lang.CharSequence text)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.CharSequence getText()  
      void setText​(java.lang.CharSequence text)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TextNode

        public TextNode​(java.lang.CharSequence text)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getText

        public java.lang.CharSequence getText()
      • setText

        public void setText​(java.lang.CharSequence text)