Package com.qq.weixin.sdk.message

Examples of com.qq.weixin.sdk.message.MessageLink


    return filterChain.doFilterChain(message);
  }

  @Override
  protected void parseSpecialMessage(Message message, Element root) {
    MessageLink messageLink = (MessageLink) message;
    messageLink.setUrl(root.getElementsByTagName(TAG_URL).item(0).getTextContent());
    messageLink.setDescription(root.getElementsByTagName(TAG_DESCRIPTION).item(0).getTextContent());
    messageLink.setTitle(root.getElementsByTagName(TAG_TITLE).item(0).getTextContent());
  }
View Full Code Here


      messageHadler = new MessageHandlerEvent();
    } else if (type.equalsIgnoreCase(MESSAGE_IMAGE)) {
      message = new MessageImage();
      messageHadler = new MessageHandlerImage();
    } else if (type.equalsIgnoreCase(MESSAGE_LINK)) {
      message = new MessageLink();
      messageHadler = new MessageHandlerLink();
    } else if (type.equalsIgnoreCase(MESSAGE_LOCATION)) {
      message = new MessageLocation();
      messageHadler = new MessageHandlerLocation();
    }
View Full Code Here

TOP

Related Classes of com.qq.weixin.sdk.message.MessageLink

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.