# com.bea.ide.sourceeditor.driver
DefaultLanguageDriver.BlockDelim Class

public static class DefaultLanguageDriver.BlockDelim
extends `Object`
implements `ILanguageDriver.IBlockDelim`

Default implementation of the `ILanguageDriver.IBlockDelim``` interface with useful default initializations.

Initially, the positions are -1 implying that the object cannot be found. The token is also blank.

From here, users may call `DefaultLanguageDriver.BlockDelim.setOpenPos(int)```, `DefaultLanguageDriver.BlockDelim.setClosePos(int)``` and `DefaultLanguageDriver.BlockDelim.setToken(String)``` to properly initialize.

Hierarchy
  `Object`
  `DefaultLanguageDriver.BlockDelim`

All Implemented Interfaces
  `ILanguageDriver.IBlockDelim`

Enclosing class
  `DefaultLanguageDriver`

## Constructor Summary

DefaultLanguageDriver.BlockDelim()

## Method Summary

`public boolean` | `equals`(`DefaultLanguageDriver.BlockDelim` delim) Two delimiters are equal if they refer to the same token at the same range.
`public int` | `getClosePos`() Returns the close position of this block delimiter.
`public int` | `getOpenPos`() Returns the open position of this block delimiter.
`public `String`` | `getToken`() Returns the text of the token that defines this block delimiter.
`public void` | `setClosePos`(int pos)
`public void` | `setOpenPos`(int pos)
`public void` | `setToken`(`String` token)

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `com.bea.ide.sourceeditor.driver.`ILanguageDriver.IBlockDelim``
``getClosePos`, `getOpenPos`, `getToken``

## Constructor Detail

### DefaultLanguageDriver.BlockDelim

    public DefaultLanguageDriver.BlockDelim()

## Method Detail

### equals(DefaultLanguageDriver.BlockDelim) Method

    public boolean equals(DefaultLanguageDriver.BlockDelim delim)

Two delimiters are equal if they refer to the same token at the same range.

### getClosePos() Method

    public int getClosePos()

Description copied from `ILanguageDriver.IBlockDelim.getClosePos()`
Returns the close position of this block delimiter.

### getOpenPos() Method

    public int getOpenPos()

Description copied from `ILanguageDriver.IBlockDelim.getOpenPos()`
Returns the open position of this block delimiter.

### getToken() Method

    public String getToken()

Description copied from `ILanguageDriver.IBlockDelim.getToken()`
Returns the text of the token that defines this block delimiter.

### setClosePos(int) Method

    public void setClosePos(int pos)

### setOpenPos(int) Method

    public void setOpenPos(int pos)

### setToken(String) Method

    public void setToken(String token)