public class XmlBuilder extends XmlSlimBuilder
构造器和说明 |
---|
XmlBuilder() |
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
buildAccessControlPolicyXML(AccessControlPolicy accessControlPolicy)
将 ACL信息 转为XML字符串
|
static java.lang.String |
buildBucketLogging(BucketLoggingStatus bucketLoggingStatus)
将 存储桶日志状态信息 转为XML字符串
|
static java.lang.String |
buildCORSConfigurationXML(CORSConfiguration corsConfiguration)
将 跨域资源共享配置 转为XML字符串
|
static java.lang.String |
buildCreateBucketConfiguration(CreateBucketConfiguration createBucketConfiguration)
将 PUT Bucket 操作信息 转为XML字符串
|
static java.lang.String |
buildDelete(Delete delete)
将 批量删除对象数据 转为XML字符串
|
static java.lang.String |
buildDomainConfiguration(DomainConfiguration domainConfiguration)
将 自定义域名配置 转为XML字符串
|
static java.lang.String |
buildInventoryConfiguration(InventoryConfiguration inventoryConfiguration)
将 清单配置参数 转为XML字符串
|
static java.lang.String |
buildLifecycleConfigurationXML(LifecycleConfiguration lifecycleConfiguration)
将 生命周期配置 转为XML字符串
|
static java.lang.String |
buildPutBucketAccelerateXML(boolean enable) |
static java.lang.String |
buildReplicationConfiguration(ReplicationConfiguration replicationConfiguration)
将 跨地域配置信息 转为XML字符串
|
static java.lang.String |
buildRestore(RestoreConfigure restoreConfigure)
将 Object restore 操作的所有请求信息 转为XML字符串
|
static java.lang.String |
buildSelectRequest(SelectRequest selectRequest)
将 结构化查询请求信息 转为XML字符串
|
static java.lang.String |
buildTagging(Tagging tagging)
将 标签集合 转为XML字符串
|
static java.lang.String |
buildVersioningConfiguration(VersioningConfiguration versioningConfiguration)
将 版本控制信息 转为XML字符串
|
static java.lang.String |
buildWebsiteConfiguration(WebsiteConfiguration websiteConfiguration)
将 存储桶关联的静态网站配置信息 转为XML字符串
|
buildCompleteMultipartUpload
public static java.lang.String buildPutBucketAccelerateXML(boolean enable) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
org.xmlpull.v1.XmlPullParserException
java.io.IOException
public static java.lang.String buildAccessControlPolicyXML(AccessControlPolicy accessControlPolicy) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
accessControlPolicy
- ACL信息java.io.IOException
- IO异常org.xmlpull.v1.XmlPullParserException
- XML转换异常public static java.lang.String buildCORSConfigurationXML(CORSConfiguration corsConfiguration) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
corsConfiguration
- 跨域资源共享配置java.io.IOException
- IO异常org.xmlpull.v1.XmlPullParserException
- XML转换异常public static java.lang.String buildLifecycleConfigurationXML(LifecycleConfiguration lifecycleConfiguration) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
lifecycleConfiguration
- 生命周期配置java.io.IOException
- IO异常org.xmlpull.v1.XmlPullParserException
- XML转换异常public static java.lang.String buildReplicationConfiguration(ReplicationConfiguration replicationConfiguration) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
replicationConfiguration
- 跨地域配置信息java.io.IOException
- IO异常org.xmlpull.v1.XmlPullParserException
- XML转换异常public static java.lang.String buildVersioningConfiguration(VersioningConfiguration versioningConfiguration) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
versioningConfiguration
- 版本控制信息java.io.IOException
- IO异常org.xmlpull.v1.XmlPullParserException
- XML转换异常public static java.lang.String buildCreateBucketConfiguration(CreateBucketConfiguration createBucketConfiguration) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
createBucketConfiguration
- PUT Bucket 操作信息java.io.IOException
- IO异常org.xmlpull.v1.XmlPullParserException
- XML转换异常public static java.lang.String buildDelete(Delete delete) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
delete
- 批量删除对象数据java.io.IOException
- IO异常org.xmlpull.v1.XmlPullParserException
- XML转换异常public static java.lang.String buildRestore(RestoreConfigure restoreConfigure) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
restoreConfigure
- Object restore 操作的所有请求信息java.io.IOException
- IO异常org.xmlpull.v1.XmlPullParserException
- XML转换异常public static java.lang.String buildBucketLogging(BucketLoggingStatus bucketLoggingStatus) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
bucketLoggingStatus
- 存储桶日志状态信息java.io.IOException
- IO异常org.xmlpull.v1.XmlPullParserException
- XML转换异常public static java.lang.String buildTagging(Tagging tagging) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
tagging
- 标签集合java.io.IOException
- IO异常org.xmlpull.v1.XmlPullParserException
- XML转换异常public static java.lang.String buildWebsiteConfiguration(WebsiteConfiguration websiteConfiguration) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
websiteConfiguration
- 存储桶关联的静态网站配置信息java.io.IOException
- IO异常org.xmlpull.v1.XmlPullParserException
- XML转换异常public static java.lang.String buildInventoryConfiguration(InventoryConfiguration inventoryConfiguration) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException
inventoryConfiguration
- 清单配置参数java.io.IOException
- IO异常org.xmlpull.v1.XmlPullParserException
- XML转换异常public static java.lang.String buildDomainConfiguration(DomainConfiguration domainConfiguration) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException
domainConfiguration
- 自定义域名配置java.io.IOException
- IO异常org.xmlpull.v1.XmlPullParserException
- XML转换异常public static java.lang.String buildSelectRequest(SelectRequest selectRequest) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException
selectRequest
- 结构化查询请求信息java.io.IOException
- IO异常org.xmlpull.v1.XmlPullParserException
- XML转换异常