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