@Override
	public void read(Document document) {
		this.event = getElementContent(document, WXXmlElementName.EVENT);
		//用户未关注时，进行关注后的事件推送
		//用户已关注时的事件推送
		if(SUBSCRIBE.equals(this.event) || UNSUBSCRIBE.equals(this.event) || SCAN.equals(this.event)){
			this.eventKey = getElementContent(document, WXXmlElementName.EVENT_KEY);
			this.ticket = getElementContent(document, WXXmlElementName.TICKET);
		}else if(LOCATION.equals(this.event)){// 上报地理位置事件
			this.latitude = getElementContent(document, WXXmlElementName.LATITUDE);
			this.longitude = getElementContent(document, WXXmlElementName.LONGITUDE); 
			this.precision = getElementContent(document, WXXmlElementName.PRECISION);
		}else if(CLICK.equals(this.event)){// 自定义菜单事件
			this.eventKey = getElementContent(document, WXXmlElementName.EVENT_KEY);
		}
	}