Class GenericCommand<X extends GenericCommand>

java.lang.Object
ch.stegmaier.java2tex.commands.BaseCommand<X>
ch.stegmaier.java2tex.commands.GenericCommand<X>
Direct Known Subclasses:
GenericEnvironment, IncludeGraphics

public class GenericCommand<X extends GenericCommand> extends BaseCommand<X>
  • Constructor Details

    • GenericCommand

      public GenericCommand(String commandName)
  • Method Details

    • autoNewline

      public X autoNewline()
    • noFormat

      public X noFormat()
    • noPrefix

      public X noPrefix()
    • emptyArgs

      public X emptyArgs()
    • clear

      public void clear()
    • argument

      public X argument(Integer argument)
    • argument

      public X argument(String argument)
    • argument

      public X argument(BaseCommand argument)
    • argument

      public X argument(BaseCommand... arguments)
    • arguments

      public X arguments(BaseCommand... arguments)
    • append

      public X append(BaseCommand command)
    • append

      public X append(float value)
    • append

      public X append(String text)
    • append

      protected X append(String text, boolean skipSpace)
    • option

      public X option(String option)
    • option

      public X option(BaseCommand option)
    • option

      public X option(BaseCommand... options)
    • star

      public X star()
    • buildName

      protected String buildName()
    • appendNewLine

      protected String appendNewLine()
    • buildOptional

      protected String buildOptional()
    • getContent

      protected String getContent()
    • buildMandatory

      protected String buildMandatory()
    • toString

      public String toString()
      Overrides:
      toString in class BaseCommand<X extends GenericCommand>