com.jscape.inet.terminal

## Interface SequenceType

- All Known Implementing Classes:
    CSIType, ICType, SimpleType

      public interface SequenceType

  Base interfase for control sequence types. "Strategy" pattern [Gamma94].

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | `getCanonicalForm(java.lang.StringBuffer value)` Returns "canonical" form of control sequence (i.e.
    `int[]` | `getParameters(java.lang.StringBuffer value)` Extracts and returns sequence parameters as array of `int`.
    `boolean` | `isComplete(java.lang.StringBuffer value)` Checks if sequence is complete.

- - ### Method Detail

    - #### isComplete

          boolean isComplete(java.lang.StringBuffer value)

      Checks if sequence is complete.
      Parameters:
        `value` - sequence value.
      Returns:
        true if sequence is complete.

    - #### getParameters

          int[] getParameters(java.lang.StringBuffer value)

      Extracts and returns sequence parameters as array of `int`.
      Parameters:
        `value` - sequence value.
      Returns:
        array of `int`.

    - #### getCanonicalForm

          java.lang.String getCanonicalForm(java.lang.StringBuffer value)

      Returns "canonical" form of control sequence (i.e. without parameters).
      Parameters:
        `value` - sequence value.
      Returns:
        string with "canonical" sequence form.

Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved