/**
* @ClassName: WxRecvEventMsgParser.java
* @Description: 微信事件解析
* @author Bert
* 2014-4-1 上午12:57:14
*/
public class WxRecvEventMsgParser extends WxRecvMsgBaseParser {
@Override
protected WxRecvEventMsg parser(Element root, WxRecvMsg msg) throws JDOMException {
String event = getElementText(root, "Event");
String eventKey = getElementText(root, "EventKey");
return new WxRecvEventMsg(msg, event, eventKey);
}
}
* @ClassName: WxRecvEventMsgParser.java
* @Description: 微信事件解析
* @author Bert
* 2014-4-1 上午12:57:14
*/
public class WxRecvEventMsgParser extends WxRecvMsgBaseParser {
@Override
protected WxRecvEventMsg parser(Element root, WxRecvMsg msg) throws JDOMException {
String event = getElementText(root, "Event");
String eventKey = getElementText(root, "EventKey");
return new WxRecvEventMsg(msg, event, eventKey);
}
}