Class Main.NoValueOptionHandler

  • All Implemented Interfaces:
    Main.OptionHandler
    Enclosing class:
    Main

    public abstract static class Main.NoValueOptionHandler
    extends Main.AbstractOptionHandler
    Base class for options with no option value (i.e., the presence of the option means something in itself. Subclasses should implement the handleOption method which takes only an SVGConverter as a parameter.
    • Constructor Detail

      • NoValueOptionHandler

        public NoValueOptionHandler()
    • Method Detail

      • getOptionValuesLength

        public int getOptionValuesLength()
        Description copied from interface: Main.OptionHandler
        Returns the number of values which the option handler requires. This defines the length of the optionValues array passed to the handler in the handleOption method
      • handleOption

        public abstract void handleOption​(SVGConverter c)