![JAR search and dependency download from the Maven repository](/logo.png)
me.chanjar.weixin.cp.bean.outxmlbuilder.TextBuilder Maven / Gradle / Ivy
package me.chanjar.weixin.cp.bean.outxmlbuilder;
import me.chanjar.weixin.cp.bean.message.WxCpXmlOutTextMessage;
/**
* 文本消息builder
*
* @author Daniel Qian
*/
public final class TextBuilder extends BaseBuilder {
private String content;
/**
* Content text builder.
*
* @param content the content
* @return the text builder
*/
public TextBuilder content(String content) {
this.content = content;
return this;
}
@Override
public WxCpXmlOutTextMessage build() {
WxCpXmlOutTextMessage m = new WxCpXmlOutTextMessage();
setCommon(m);
m.setContent(this.content);
return m;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy