public class ParserMatchEvent extends GuessingEvent
Modifier and Type | Field and Description |
---|---|
static int |
BITSET |
static int |
CHAR |
static int |
CHAR_BITSET |
static int |
CHAR_RANGE |
static int |
STRING |
static int |
TOKEN |
source
Constructor and Description |
---|
ParserMatchEvent(Object source) |
ParserMatchEvent(Object source,
int type,
int value,
Object target,
String text,
int guessing,
boolean inverse,
boolean matched) |
Modifier and Type | Method and Description |
---|---|
Object |
getTarget() |
String |
getText() |
int |
getValue() |
boolean |
isInverse() |
boolean |
isMatched() |
(package private) void |
setInverse(boolean inverse) |
(package private) void |
setMatched(boolean matched) |
(package private) void |
setTarget(Object target) |
(package private) void |
setText(String text) |
(package private) void |
setValue(int value) |
(package private) void |
setValues(int type,
int value,
Object target,
String text,
int guessing,
boolean inverse,
boolean matched)
This should NOT be called from anyone other than ParserEventSupport!
|
String |
toString() |
getGuessing, setGuessing, setValues
getSource
public static int TOKEN
public static int BITSET
public static int CHAR
public static int CHAR_BITSET
public static int STRING
public static int CHAR_RANGE
public ParserMatchEvent(Object source)
public Object getTarget()
public String getText()
public int getValue()
public boolean isInverse()
public boolean isMatched()
void setInverse(boolean inverse)
void setMatched(boolean matched)
void setTarget(Object target)
void setText(String text)
void setValue(int value)
void setValues(int type, int value, Object target, String text, int guessing, boolean inverse, boolean matched)
public String toString()
toString
in class EventObject