File tree Expand file tree Collapse file tree 17 files changed +258
-91
lines changed
xmlAnnoation/src/main/java/com/tencent/qcloud/qcloudxml/annoation
xmlCompiler/src/main/java/com/tencent/qcloud/qcloudxml/compiler
xmlCore/src/main/java/com/tencent/qcloud/qcloudxml/core Expand file tree Collapse file tree 17 files changed +258
-91
lines changed Original file line number Diff line number Diff line change 1+ ## v5.8.7
2+ 1 . 万象审核相关功能。
3+ 2 . 分离出cos-android-base。
4+
5+ ## v5.8.5
6+ 1 . 升级灯塔版本。
7+ 2 . 解决土耳其等地区上传签名大小写转换编码问题。
8+ 3 . 完善xml自动序列化兼容性。
9+
110## v5.7.7 v5.7.8
2111 . 修复 TransferService 加密分片上传和下载。
3122 . 修复分片上传时未解析万象参数。
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ android {
88 targetSdkVersion 28
99
1010 versionCode cosSdkVersionCode
11- versionName " 5.8.7 "
11+ versionName cosSdkVersionName
1212
1313 testInstrumentationRunner ' androidx.test.runner.AndroidJUnitRunner'
1414
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ android {
88 defaultConfig {
99 minSdkVersion 15
1010 targetSdkVersion 29
11- versionCode 50807
12- versionName " 5.8.7 "
11+ versionCode 50701
12+ versionName " 5.7.1 "
1313
1414 testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
1515 consumerProguardFiles " consumer-rules.pro"
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ android {
1515 minSdkVersion 15
1616 targetSdkVersion 28
1717
18- versionCode 50807
19- versionName " 5.8.7 "
18+ versionCode 50706
19+ versionName " 5.7.6 "
2020
2121 testInstrumentationRunner ' androidx.test.runner.AndroidJUnitRunner'
2222
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ android {
2727 targetSdkVersion 28
2828
2929 versionCode cosSdkVersionCode
30- versionName " 5.8.7 "
30+ versionName cosSdkVersionName
3131
3232 testInstrumentationRunner ' androidx.test.runner.AndroidJUnitRunner'
3333
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ android {
77 defaultConfig {
88 minSdkVersion 15
99 targetSdkVersion 27
10- versionCode 50807
11- versionName " 5.8.7 "
10+ versionCode 50432
11+ versionName " 5.7.1 "
1212
1313 testInstrumentationRunner ' androidx.test.runner.AndroidJUnitRunner'
1414
Original file line number Diff line number Diff line change @@ -31,8 +31,8 @@ android {
3131 minSdkVersion 15
3232 targetSdkVersion 27
3333
34- versionCode 10545
35- versionName " 1.5.45 "
34+ versionCode 10538
35+ versionName " 1.5.38 "
3636
3737 testInstrumentationRunner " android.support.test.runner.AndroidJUnitRunner"
3838
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 6464 * @return 是否忽略List节点
6565 */
6666 boolean ignoreListNote () default false ;
67+
68+ /**
69+ * 是否是平铺的List节点
70+ * 仅用于fromxml
71+ * 如下XML
72+ * <Response>
73+ * <MediaBucketList>
74+ * <BucketId></BucketId>
75+ * <Region></Region>
76+ * <CreateTime></CreateTime>
77+ * </MediaBucketList>
78+ * <MediaBucketList>
79+ * <BucketId></BucketId>
80+ * <Region></Region>
81+ * <CreateTime></CreateTime>
82+ * </MediaBucketList>
83+ * </Response>
84+ *
85+ * @XmlBean(name = "Response")
86+ * public class DescribeMediaBucketsResult {
87+ * //媒体 Bucket 列表
88+ * @XmlElement(flatListNote = true)
89+ * public List<MediaBucketList> mediaBucketList;
90+ *
91+ * @XmlBean
92+ * public static class MediaBucketList{
93+ * //存储桶 ID
94+ * public String bucketId;
95+ * }
96+ * }
97+ *
98+ * @return 是否是平铺的List节点
99+ */
100+ boolean flatListNote () default false ;
101+
102+ /**
103+ * 忽略Element名称
104+ * 目前仅用于toxml,用于适配以下XML
105+ * <DomainList>
106+ * <Domain>*.qq.com</Domain>
107+ * <Domain>*.qcloud.com</Domain>
108+ * </DomainList>
109+ *
110+ * public List<Domain> domainList;
111+ * @XmlBean
112+ * public static class Domain{
113+ * @XmlElement(ignoreName = true)
114+ * public String domain;
115+ * }
116+ * @return 是否忽略Element名称
117+ */
118+ boolean ignoreName () default false ;
119+
120+ /**
121+ * 是否忽略0值
122+ * @return 是否忽略0值
123+ */
124+ boolean ignoreZero () default false ;
67125}
You can’t perform that action at this time.
0 commit comments