public class XmlResponsesSaxParser extends Object
Constructor and Description |
---|
XmlResponsesSaxParser()
Constructs the XML SAX parser.
|
public XmlResponsesSaxParser() throws com.amazonaws.SdkClientException
com.amazonaws.SdkClientException
protected void parseXmlInputStream(org.xml.sax.helpers.DefaultHandler handler, InputStream inputStream) throws IOException
handler
- the handler for the XML documentinputStream
- an input stream containing the XML document to parseIOException
- on error reading from the input stream (ie connection reset)com.amazonaws.SdkClientException
- on error with malformed XML, etcprotected InputStream sanitizeXmlDocument(org.xml.sax.helpers.DefaultHandler handler, InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.ListBucketHandler parseListBucketObjectsResponse(InputStream inputStream, boolean shouldSDKDecodeResponse) throws IOException
inputStream
- XML data input stream.com.amazonaws.SdkClientException
IOException
public XmlResponsesSaxParser.ListObjectsV2Handler parseListObjectsV2Response(InputStream inputStream, boolean shouldSDKDecodeResponse) throws IOException
inputStream
- XML data input stream.com.amazonaws.SdkClientException
IOException
public XmlResponsesSaxParser.ListVersionsHandler parseListVersionsResponse(InputStream inputStream, boolean shouldSDKDecodeResponse) throws IOException
inputStream
- XML data input stream.com.amazonaws.SdkClientException
IOException
public XmlResponsesSaxParser.ListAllMyBucketsHandler parseListMyBucketsResponse(InputStream inputStream) throws IOException
inputStream
- XML data input stream.com.amazonaws.SdkClientException
IOException
public XmlResponsesSaxParser.AccessControlListHandler parseAccessControlListResponse(InputStream inputStream) throws IOException
inputStream
- XML data input stream.com.amazonaws.SdkClientException
IOException
public XmlResponsesSaxParser.BucketLoggingConfigurationHandler parseLoggingStatusResponse(InputStream inputStream) throws IOException
inputStream
- XML data input stream.com.amazonaws.SdkClientException
IOException
public XmlResponsesSaxParser.BucketLifecycleConfigurationHandler parseBucketLifecycleConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.BucketCrossOriginConfigurationHandler parseBucketCrossOriginConfigurationResponse(InputStream inputStream) throws IOException
IOException
public String parseBucketLocationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.BucketVersioningConfigurationHandler parseVersioningConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.BucketWebsiteConfigurationHandler parseWebsiteConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.BucketReplicationConfigurationHandler parseReplicationConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.BucketTaggingConfigurationHandler parseTaggingConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.BucketAccelerateConfigurationHandler parseAccelerateConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.DeleteObjectsHandler parseDeletedObjectsResult(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.CopyObjectResultHandler parseCopyObjectResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.CompleteMultipartUploadHandler parseCompleteMultipartUploadResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.InitiateMultipartUploadHandler parseInitiateMultipartUploadResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.ListMultipartUploadsHandler parseListMultipartUploadsResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.ListPartsHandler parseListPartsResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.GetObjectTaggingHandler parseObjectTaggingResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.GetBucketMetricsConfigurationHandler parseGetBucketMetricsConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.ListBucketMetricsConfigurationsHandler parseListBucketMetricsConfigurationsResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.GetBucketAnalyticsConfigurationHandler parseGetBucketAnalyticsConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.ListBucketAnalyticsConfigurationHandler parseListBucketAnalyticsConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.GetBucketInventoryConfigurationHandler parseGetBucketInventoryConfigurationResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.ListBucketInventoryConfigurationsHandler parseBucketListInventoryConfigurationsResponse(InputStream inputStream) throws IOException
IOException
public XmlResponsesSaxParser.RequestPaymentConfigurationHandler parseRequestPaymentConfigurationResponse(InputStream inputStream) throws IOException
inputStream
- com.amazonaws.SdkClientException
IOException
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.