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 |
Constructor and Description |
---|
ParserMatchEvent(java.lang.Object source) |
ParserMatchEvent(java.lang.Object source,
int type,
int value,
java.lang.Object target,
java.lang.String text,
int guessing,
boolean inverse,
boolean matched) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getTarget() |
java.lang.String |
getText() |
int |
getValue() |
boolean |
isInverse() |
boolean |
isMatched() |
(package private) void |
setInverse(boolean inverse) |
(package private) void |
setMatched(boolean matched) |
(package private) void |
setTarget(java.lang.Object target) |
(package private) void |
setText(java.lang.String text) |
(package private) void |
setValue(int value) |
(package private) void |
setValues(int type,
int value,
java.lang.Object target,
java.lang.String text,
int guessing,
boolean inverse,
boolean matched)
This should NOT be called from anyone other than ParserEventSupport!
|
java.lang.String |
toString() |
getGuessing, setGuessing, setValues
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(java.lang.Object source)
public ParserMatchEvent(java.lang.Object source, int type, int value, java.lang.Object target, java.lang.String text, int guessing, boolean inverse, boolean matched)
public java.lang.Object getTarget()
public java.lang.String getText()
public int getValue()
public boolean isInverse()
public boolean isMatched()
void setInverse(boolean inverse)
void setMatched(boolean matched)
void setTarget(java.lang.Object target)
void setText(java.lang.String text)
void setValue(int value)
void setValues(int type, int value, java.lang.Object target, java.lang.String text, int guessing, boolean inverse, boolean matched)
public java.lang.String toString()
toString
in class java.util.EventObject