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
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLanguageDriver.BlockInfo
public DefaultLanguageDriver.BlockInfo()
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)