Package org.hamster.weixinmp.dao.entity.msg

Examples of org.hamster.weixinmp.dao.entity.msg.WxMsgVideoEntity


   * @param ele
   * @return
   * @throws DocumentException
   */
  public static WxMsgVideoEntity getMsgVideo(Element ele) throws DocumentException {
    WxMsgVideoEntity result = msgEntityFactory(WxMsgVideoEntity.class, ele);
    WxItemVideoEntity video = new WxItemVideoEntity();
    video.setMediaId(strVal(ele, "MediaId"));
    WxItemThumbEntity thumb = new WxItemThumbEntity();
    thumb.setMediaId(strVal(ele, "ThumbMediaId"));
    video.setThumb(thumb);
    result.setVideo(video);
    return result;
  }
View Full Code Here

TOP

Related Classes of org.hamster.weixinmp.dao.entity.msg.WxMsgVideoEntity

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.