com.seejoke.wechat.entity.WxXmlOutTextMessage Maven / Gradle / Ivy
package com.seejoke.wechat.entity;
import com.seejoke.wechat.api.WxConsts;
import com.seejoke.wechat.util.xml.XStreamCDataConverter;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamConverter;
@XStreamAlias("xml")
public class WxXmlOutTextMessage extends AbstractWxXmlOutMessage {
@XStreamAlias("Content")
@XStreamConverter(value = XStreamCDataConverter.class)
private String content;
public WxXmlOutTextMessage() {
this.msgType = WxConsts.XML_MSG_TEXT;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
@Override
public String toString() {
return "WxXmlOutTextMessage [content=" + content + "]";
}
}