MessageEventpublic class MessageEvent extends Event
Fields Summary |
---|
private String | text | public static int | WARNING | public static int | ERROR |
Constructors Summary |
---|
public MessageEvent(Object source)
super(source);
| public MessageEvent(Object source, int type, String text)
super(source);
setValues(type,text);
|
Methods Summary |
---|
public java.lang.String | getText()
return text;
| void | setText(java.lang.String text)
this.text = text;
| void | setValues(int type, java.lang.String text)This should NOT be called from anyone other than ParserEventSupport!
super.setValues(type);
setText(text);
| public java.lang.String | toString()
return "ParserMessageEvent [" +
(getType()==WARNING?"warning,":"error,") +
getText() + "]";
|
|