me.chanjar.weixin.mp.bean.message

## 类 WxMpXmlOutMessage

- java.lang.Object
- - me.chanjar.weixin.mp.bean.message.WxMpXmlOutMessage

所有已实现的接口:
  Serializable

直接已知子类:
  WxMpXmlOutImageMessage, WxMpXmlOutMusicMessage, WxMpXmlOutNewsMessage, WxMpXmlOutTextMessage, WxMpXmlOutTransferKefuMessage, WxMpXmlOutVideoMessage, WxMpXmlOutVoiceMessage

    public abstract class WxMpXmlOutMessage
    extends Object
    implements Serializable

另请参阅:
  序列化表格

### 字段概要

字段
`protected Long` `createTime`
`protected String` `fromUserName`
`protected String` `msgType`
`protected String` `toUserName`

### 构造器概要

构造器
构造器和说明
`WxMpXmlOutMessage()`

### 方法概要

方法
`Long` `getCreateTime()`
`String` `getFromUserName()`
`String` `getMsgType()`
`String` `getToUserName()`
`static ImageBuilder` `IMAGE()` 获得图片消息builder
`static MusicBuilder` `MUSIC()` 获得音乐消息builder
`static NewsBuilder` `NEWS()` 获得图文消息builder
`void` `setCreateTime(Long createTime)`
`void` `setFromUserName(String fromUserName)`
`void` `setMsgType(String msgType)`
`void` `setToUserName(String toUserName)`
`static TextBuilder` `TEXT()` 获得文本消息builder
`String` `toEncryptedXml(WxMpConfigStorage wxMpConfigStorage)` 转换成加密的xml格式
`String` `toXml()`
`static TransferCustomerServiceBuilder` `TRANSFER_CUSTOMER_SERVICE()` 获得客服消息builder
`static VideoBuilder` `VIDEO()` 获得视频消息builder
`static VoiceBuilder` `VOICE()` 获得语音消息builder

### 从类继承的方法 java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

### 字段详细资料

#### toUserName

    @XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class)
    protected String toUserName

#### fromUserName

    @XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class)
    protected String fromUserName

#### createTime

    protected Long createTime

#### msgType

    @XStreamConverter(value=me.chanjar.weixin.common.util.xml.XStreamCDataConverter.class)
    protected String msgType

### 构造器详细资料

#### WxMpXmlOutMessage

    public WxMpXmlOutMessage()

### 方法详细资料

#### getToUserName

    public String getToUserName()

#### setToUserName

    public void setToUserName(String toUserName)

#### getFromUserName

    public String getFromUserName()

#### setFromUserName

    public void setFromUserName(String fromUserName)

#### getCreateTime

    public Long getCreateTime()

#### setCreateTime

    public void setCreateTime(Long createTime)

#### getMsgType

    public String getMsgType()

#### setMsgType

    public void setMsgType(String msgType)

#### toXml

    public String toXml()

#### toEncryptedXml

    public String toEncryptedXml(WxMpConfigStorage wxMpConfigStorage)

转换成加密的xml格式

#### TEXT

    public static TextBuilder TEXT()

获得文本消息builder

#### IMAGE

    public static ImageBuilder IMAGE()

获得图片消息builder

#### VOICE

    public static VoiceBuilder VOICE()

获得语音消息builder

#### VIDEO

    public static VideoBuilder VIDEO()

获得视频消息builder

#### MUSIC

    public static MusicBuilder MUSIC()

获得音乐消息builder

#### NEWS

    public static NewsBuilder NEWS()

获得图文消息builder

#### TRANSFER_CUSTOMER_SERVICE

    public static TransferCustomerServiceBuilder TRANSFER_CUSTOMER_SERVICE()

获得客服消息builder