public abstract class AbstractHandler extends Object
Created by Jeff Gaynor
on 7/15/18 at 5:21 PM
Modifier and Type | Field and Description |
---|---|
protected int |
closeDelimiterCount |
static int |
CONDITIONAL_TYPE |
static int |
FUNCTOR_TYPE |
protected int |
openDelimiterCount |
static int |
SWITCH_TYPE |
protected boolean |
used |
Constructor and Description |
---|
AbstractHandler(JFunctorFactory functorFactory) |
Modifier and Type | Method and Description |
---|---|
boolean |
areDelimitersBalanced() |
void |
closeDelimiter(DelimiterEvent delimeterEvent) |
protected String |
convertType(FunctorType type) |
protected boolean |
equals(String name,
FunctorType type) |
JFunctorFactory |
getFunctorFactory() |
abstract int |
getHandlerType()
Allows for determining the type of handler without resorting to a lot of java class operations.
|
boolean |
isUsed() |
void |
openDelimiter(DelimiterEvent delimeterEvent) |
void |
reset() |
String |
toString() |
public static final int SWITCH_TYPE
public static final int CONDITIONAL_TYPE
public static final int FUNCTOR_TYPE
protected int openDelimiterCount
protected int closeDelimiterCount
protected boolean used
public AbstractHandler(JFunctorFactory functorFactory)
public abstract int getHandlerType()
public JFunctorFactory getFunctorFactory()
protected String convertType(FunctorType type)
protected boolean equals(String name, FunctorType type)
public boolean isUsed()
public void reset()
public boolean areDelimitersBalanced()
public void openDelimiter(DelimiterEvent delimeterEvent)
public void closeDelimiter(DelimiterEvent delimeterEvent)
Copyright © 2019. All Rights Reserved.