Class CharStringHandler

  • Direct Known Subclasses:
    CharStringConverter, CharStringRenderer

    public abstract class CharStringHandler
    extends java.lang.Object
    A Handler for CharStringCommands.
    Version:
    $Revision$
    Author:
    Villu Ruusmann
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract java.util.List<java.lang.Integer> handleCommand​(java.util.List<java.lang.Integer> numbers, CharStringCommand command)
      Handler for CharStringCommands.
      java.util.List<java.lang.Integer> handleSequence​(java.util.List<java.lang.Object> sequence)
      Handler for a sequence of CharStringCommands.
      • Methods inherited from class java.lang.Object

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

      • CharStringHandler

        public CharStringHandler()
    • Method Detail

      • handleSequence

        public java.util.List<java.lang.Integer> handleSequence​(java.util.List<java.lang.Object> sequence)
        Handler for a sequence of CharStringCommands.
        Parameters:
        sequence - of CharStringCommands
        Returns:
        may return a command sequence of a subroutine
      • handleCommand

        public abstract java.util.List<java.lang.Integer> handleCommand​(java.util.List<java.lang.Integer> numbers,
                                                                        CharStringCommand command)
        Handler for CharStringCommands.
        Parameters:
        numbers - a list of numbers
        command - the CharStringCommand
        Returns:
        may return a command sequence of a subroutine