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

public static class DefaultLanguageDriver.BlockInfo
extends `Object`
implements `ILanguageDriver.IBlockInfo`

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

Initially, both delimeters imply that they cannot be found, and the block is considered malformed (mismatched).

From here, users may call `DefaultLanguageDriver.BlockInfo.setType(int)```, `DefaultLanguageDriver.BlockInfo.setOpenDelim(ILanguageDriver.IBlockDelim)``` and `DefaultLanguageDriver.BlockInfo.setCloseDelim(ILanguageDriver.IBlockDelim)``` to properly initialize.

Hierarchy
  `Object`
  `DefaultLanguageDriver.BlockInfo`

All Implemented Interfaces
  `ILanguageDriver.IBlockInfo`

Enclosing class
  `DefaultLanguageDriver`

## Constructor Summary

DefaultLanguageDriver.BlockInfo()

## Method Summary

`public `ILanguageDriver.IBlockDelim`` | `getCloseDelim`() Returns the closing `ILanguageDriver.IBlockDelim``` of the block.
`public `ILanguageDriver.IBlockDelim`` | `getOpenDelim`() Returns the opening `ILanguageDriver.IBlockDelim``` of the block.
`public int` | `getType`() Returns one of the constants: `ILanguageDriver.IBlockInfo.TYPE_MISMATCHED``` `ILanguageDriver.IBlockInfo.TYPE_SIMPLE``` `ILanguageDriver.IBlockInfo.TYPE_STRUCTURE```
`public boolean` | `isMismatched`()
`public void` | `setCloseDelim`(`ILanguageDriver.IBlockDelim` closeDelim)
`public void` | `setOpenDelim`(`ILanguageDriver.IBlockDelim` openDelim)
`public void` | `setType`(int type)

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.IBlockInfo``
``getCloseDelim`, `getOpenDelim`, `getType`, `isMismatched``

## Constructor Detail

### DefaultLanguageDriver.BlockInfo

    public DefaultLanguageDriver.BlockInfo()

## Method Detail

### getCloseDelim() Method

    public ILanguageDriver.IBlockDelim getCloseDelim()

Description copied from `ILanguageDriver.IBlockInfo.getCloseDelim()`
Returns the closing `ILanguageDriver.IBlockDelim``` of the block.

### getOpenDelim() Method

    public ILanguageDriver.IBlockDelim getOpenDelim()

Description copied from `ILanguageDriver.IBlockInfo.getOpenDelim()`
Returns the opening `ILanguageDriver.IBlockDelim``` of the block.

### getType() Method

    public int getType()

Description copied from `ILanguageDriver.IBlockInfo.getType()`
Returns one of the constants:
`ILanguageDriver.IBlockInfo.TYPE_MISMATCHED```
`ILanguageDriver.IBlockInfo.TYPE_SIMPLE```
`ILanguageDriver.IBlockInfo.TYPE_STRUCTURE```

### isMismatched() Method

    public boolean isMismatched()

### setCloseDelim(ILanguageDriver.IBlockDelim) Method

    public void setCloseDelim(ILanguageDriver.IBlockDelim closeDelim)

### setOpenDelim(ILanguageDriver.IBlockDelim) Method

    public void setOpenDelim(ILanguageDriver.IBlockDelim openDelim)

### setType(int) Method

    public void setType(int type)