public class XmlParser extends XmlSlimParser
构造器和说明 |
---|
XmlParser() |
限定符和类型 | 方法和说明 |
---|---|
static void |
parseAccelerateConfiguration(java.io.InputStream inputStream,
AccelerateConfiguration accelerateConfiguration)
解析 全球加速集合,
|
static void |
parseAccessControlPolicy(java.io.InputStream inputStream,
AccessControlPolicy result)
解析 ACL信息
|
static void |
parseBucketLoggingStatus(java.io.InputStream inputStream,
BucketLoggingStatus result)
解析 存储桶日志状态信息
|
static void |
parseCORSConfiguration(java.io.InputStream inputStream,
CORSConfiguration result)
解析 跨域资源共享配置
|
static void |
parseDeleteResult(java.io.InputStream inputStream,
DeleteResult result)
解析 批量删除结果
|
static void |
parseDomainConfiguration(java.io.InputStream inputStream,
DomainConfiguration result)
解析 自定义域名配置
|
static void |
parseGetBucketObjectVersionsResult(java.io.InputStream inputStream,
ListVersionResult listVersionResult)
解析 BucketObjectVersions结果信息
|
static void |
parseInventoryConfiguration(java.io.InputStream inputStream,
InventoryConfiguration result)
解析 清单配置参数
|
static void |
parseLifecycleConfiguration(java.io.InputStream inputStream,
LifecycleConfiguration result)
解析 生命周期配置
|
static void |
parseListBucketResult(java.io.InputStream inputStream,
ListBucket result)
解析 存储桶列表
|
static void |
parseListBucketVersions(java.io.InputStream inputStream,
ListBucketVersions result)
解析 GET Bucket Object versions 结果
|
static void |
parseListInventoryConfiguration(java.io.InputStream inputStream,
ListInventoryConfiguration result)
解析 存储桶中所有清单任务信息的列表
|
static void |
parseLocationConstraint(java.io.InputStream inputStream,
LocationConstraint result)
解析 Bucket所在地域
|
static void |
parseReplicationConfiguration(java.io.InputStream inputStream,
ReplicationConfiguration result)
解析 跨地域配置信息
|
static void |
parseTagging(java.io.InputStream inputStream,
Tagging tagging)
解析 标签集合,
返回的数据中只能有一个 TagSet 标签
|
static void |
parseVersioningConfiguration(java.io.InputStream inputStream,
VersioningConfiguration result)
解析 版本控制信息
|
static void |
parseWebsiteConfig(java.io.InputStream inputStream,
WebsiteConfiguration result)
解析 存储桶关联的静态网站配置信息
|
parseCopyObjectResult, parseInitiateMultipartUploadResult, parseListPartsResult, parsePostResponseResult
parseError
public static void parseGetBucketObjectVersionsResult(java.io.InputStream inputStream, ListVersionResult listVersionResult) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流listVersionResult
- BucketObjectVersions结果信息org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseListBucketResult(java.io.InputStream inputStream, ListBucket result) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流result
- 存储桶列表org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseAccessControlPolicy(java.io.InputStream inputStream, AccessControlPolicy result) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流result
- ACL信息org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseCORSConfiguration(java.io.InputStream inputStream, CORSConfiguration result) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流result
- 跨域资源共享配置org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseReplicationConfiguration(java.io.InputStream inputStream, ReplicationConfiguration result) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流result
- 跨地域配置信息org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseVersioningConfiguration(java.io.InputStream inputStream, VersioningConfiguration result) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流result
- 版本控制信息org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseTagging(java.io.InputStream inputStream, Tagging tagging) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流tagging
- 标签集合org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseAccelerateConfiguration(java.io.InputStream inputStream, AccelerateConfiguration accelerateConfiguration) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流accelerateConfiguration
- 全球集合org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseLifecycleConfiguration(java.io.InputStream inputStream, LifecycleConfiguration result) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流result
- 生命周期配置org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseLocationConstraint(java.io.InputStream inputStream, LocationConstraint result) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流result
- Bucket所在地域org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseDeleteResult(java.io.InputStream inputStream, DeleteResult result) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流result
- 批量删除结果org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseListBucketVersions(java.io.InputStream inputStream, ListBucketVersions result) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流result
- GET Bucket Object versions 结果org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseWebsiteConfig(java.io.InputStream inputStream, WebsiteConfiguration result) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流result
- 存储桶关联的静态网站配置信息org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseListInventoryConfiguration(java.io.InputStream inputStream, ListInventoryConfiguration result) throws java.io.IOException, org.xmlpull.v1.XmlPullParserException
inputStream
- xml输入流result
- 存储桶中所有清单任务信息的列表org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseInventoryConfiguration(java.io.InputStream inputStream, InventoryConfiguration result) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流result
- 清单配置参数org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseBucketLoggingStatus(java.io.InputStream inputStream, BucketLoggingStatus result) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流result
- 存储桶日志状态信息org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常public static void parseDomainConfiguration(java.io.InputStream inputStream, DomainConfiguration result) throws org.xmlpull.v1.XmlPullParserException, java.io.IOException
inputStream
- xml输入流result
- 自定义域名配置org.xmlpull.v1.XmlPullParserException
- xml解析异常java.io.IOException
- IO异常