@WxmpMessage(msgType=location) public class LocationMessage extends BaseMessage
<xml>
<ToUserName><![CDATA[toUser]]></ToUserName>
<FromUserName><![CDATA[fromUser]]></FromUserName>
<CreateTime>1351776360</CreateTime>
<MsgType><![CDATA[location]]></MsgType>
<Location_X>23.134521</Location_X>
<Location_Y>113.358803</Location_Y>
<Scale>20</Scale>
<Label><![CDATA[位置信息]]></Label>
<MsgId>1234567890123456</MsgId>
</xml>
createTime, fromUserName, msgId, msgType, toUserName
Constructor and Description |
---|
LocationMessage() |
Modifier and Type | Method and Description |
---|---|
void |
configXStream(com.thoughtworks.xstream.XStream xStream)
必要时,对XStream进行一些设置操作
|
String |
getLabel() |
String |
getLocation_X() |
String |
getLocation_Y() |
String |
getScale() |
static long |
getSerialversionuid() |
void |
setLabel(String label) |
void |
setLocation_X(String location_X) |
void |
setLocation_Y(String location_Y) |
void |
setScale(String scale) |
String |
toString() |
getCreateTime, getFromUserName, getMsgId, getMsgType, getToUserName, getXStream, loadDataFromXml, setCreateTime, setFromUserName, setMsgId, setMsgType, setMsgType, setToUserName, toXmlMsg
public String getLocation_X()
public void setLocation_X(String location_X)
public String getLocation_Y()
public void setLocation_Y(String location_Y)
public String getScale()
public void setScale(String scale)
public String getLabel()
public void setLabel(String label)
public static long getSerialversionuid()
public void configXStream(com.thoughtworks.xstream.XStream xStream)
BaseMessage
configXStream
in class BaseMessage
Copyright © 2020. All rights reserved.