# 所有程序包的分层结构

程序包分层结构:

- me.chanjar.weixin.cp.api,
- me.chanjar.weixin.cp.bean,
- me.chanjar.weixin.cp.bean.messagebuilder,
- me.chanjar.weixin.cp.bean.outxmlbuilder,
- me.chanjar.weixin.cp.util.crypto,
- me.chanjar.weixin.cp.util.json,
- me.chanjar.weixin.cp.util.xml

## 类分层结构

- java.lang.Object
  - me.chanjar.weixin.cp.bean.messagebuilder.BaseBuilder<T>
    - me.chanjar.weixin.cp.bean.messagebuilder.FileBuilder
    - me.chanjar.weixin.cp.bean.messagebuilder.ImageBuilder
    - me.chanjar.weixin.cp.bean.messagebuilder.NewsBuilder
    - me.chanjar.weixin.cp.bean.messagebuilder.TextBuilder
    - me.chanjar.weixin.cp.bean.messagebuilder.VideoBuilder
    - me.chanjar.weixin.cp.bean.messagebuilder.VoiceBuilder
  - me.chanjar.weixin.cp.bean.outxmlbuilder.BaseBuilder<BuilderType,ValueType>
    - me.chanjar.weixin.cp.bean.outxmlbuilder.ImageBuilder
    - me.chanjar.weixin.cp.bean.outxmlbuilder.NewsBuilder
    - me.chanjar.weixin.cp.bean.outxmlbuilder.TextBuilder
    - me.chanjar.weixin.cp.bean.outxmlbuilder.VideoBuilder
    - me.chanjar.weixin.cp.bean.outxmlbuilder.VoiceBuilder
  - me.chanjar.weixin.cp.bean.WxCpDepart (implements java.io.Serializable)
  - me.chanjar.weixin.cp.util.json.WxCpDepartGsonAdapter (implements com.google.gson.JsonDeserializer<T>, com.google.gson.JsonSerializer<T>)
  - me.chanjar.weixin.cp.util.json.WxCpGsonBuilder
  - me.chanjar.weixin.cp.api.WxCpInMemoryConfigStorage (implements me.chanjar.weixin.cp.api.WxCpConfigStorage)
  - me.chanjar.weixin.cp.api.WxCpJedisConfigStorage (implements me.chanjar.weixin.cp.api.WxCpConfigStorage)
  - me.chanjar.weixin.cp.bean.WxCpMessage (implements java.io.Serializable)
  - me.chanjar.weixin.cp.bean.WxCpMessage.WxArticle
  - me.chanjar.weixin.cp.util.json.WxCpMessageGsonAdapter (implements com.google.gson.JsonSerializer<T>)
  - me.chanjar.weixin.cp.api.WxCpMessageRouter
  - me.chanjar.weixin.cp.api.WxCpMessageRouterRule
  - me.chanjar.weixin.cp.api.WxCpServiceImpl (implements me.chanjar.weixin.cp.api.WxCpService)
  - me.chanjar.weixin.cp.bean.WxCpTag (implements java.io.Serializable)
  - me.chanjar.weixin.cp.util.json.WxCpTagGsonAdapter (implements com.google.gson.JsonDeserializer<T>, com.google.gson.JsonSerializer<T>)
  - me.chanjar.weixin.cp.bean.WxCpUser (implements java.io.Serializable)
  - me.chanjar.weixin.cp.bean.WxCpUser.Attr
  - me.chanjar.weixin.cp.util.json.WxCpUserGsonAdapter (implements com.google.gson.JsonDeserializer<T>, com.google.gson.JsonSerializer<T>)
  - me.chanjar.weixin.cp.bean.WxCpXmlMessage (implements java.io.Serializable)
  - me.chanjar.weixin.cp.bean.WxCpXmlMessage.ScanCodeInfo
  - me.chanjar.weixin.cp.bean.WxCpXmlMessage.SendLocationInfo
  - me.chanjar.weixin.cp.bean.WxCpXmlMessage.SendPicsInfo
  - me.chanjar.weixin.cp.bean.WxCpXmlMessage.SendPicsInfo.Item
  - me.chanjar.weixin.cp.bean.WxCpXmlOutMessage (implements java.io.Serializable)
    - me.chanjar.weixin.cp.bean.WxCpXmlOutImageMessage
    - me.chanjar.weixin.cp.bean.WxCpXmlOutNewsMessage
    - me.chanjar.weixin.cp.bean.WxCpXmlOutTextMessage
    - me.chanjar.weixin.cp.bean.WxCpXmlOutVideoMessage
    - me.chanjar.weixin.cp.bean.WxCpXmlOutVoiceMessage
  - me.chanjar.weixin.cp.bean.WxCpXmlOutNewsMessage.Item
  - me.chanjar.weixin.cp.bean.WxCpXmlOutVideoMessage.Video
  - me.chanjar.weixin.common.util.crypto.WxCryptUtil
    - me.chanjar.weixin.cp.util.crypto.WxCpCryptUtil
  - me.chanjar.weixin.cp.util.xml.XStreamTransformer

## 接口分层结构

- me.chanjar.weixin.cp.api.WxCpConfigStorage
- me.chanjar.weixin.cp.api.WxCpMessageHandler
- me.chanjar.weixin.cp.api.WxCpMessageInterceptor
- me.chanjar.weixin.cp.api.WxCpMessageMatcher
- me.chanjar.weixin.cp.api.WxCpService