Class OutText

  • All Implemented Interfaces:
    Command

    public final class OutText
    extends Object
    implements Command
    This Command renders a text fragment.
    • Constructor Detail

      • OutText

        public OutText​(String text)
    • Method Detail

      • accept

        public void accept​(CommandVisitor visitor)
        Description copied from interface: Command
        Accept a visitor.
        Specified by:
        accept in interface Command
        Parameters:
        visitor - the visitor that will process this command
      • getText

        public String getText()