com.harukizaemon.simian

## Class BlockMarkers

- java.lang.Object
- - com.harukizaemon.simian.BlockMarkers

-     public final class BlockMarkers
      extends java.lang.Object

  Strings that mark the start and end of a code block.
  Author:
    Simon Harris

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `BlockMarkers(java.lang.String start, java.lang.String end)` Constructor.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isEnd(java.lang.CharSequence text)` Determines if the specified string signifies the end of the block.
    `boolean` | `isStart(java.lang.CharSequence text)` Determines if the specified string signifies the start of the block.
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### BlockMarkers

          public BlockMarkers(java.lang.String start,
                      java.lang.String end)

      Constructor.
      Parameters:
        `start` - The string that indicates the start of the block.
        `end` - The string that indicates the end of the block.

  - ### Method Detail

    - #### isStart

          public boolean isStart(java.lang.CharSequence text)

      Determines if the specified string signifies the start of the block.
      Parameters:
        `text` - The text.
      Returns:
        `true` if the specified text signifies the start of the block; otherwise `false`.

    - #### isEnd

          public boolean isEnd(java.lang.CharSequence text)

      Determines if the specified string signifies the end of the block.
      Parameters:
        `text` - The text.
      Returns:
        `true` if the specified text signifies the end of the block; otherwise `false`.

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

Copyright (c) 2003-2013 Simon Harris. All rights reserved.