public class XmlResponsesSaxParser extends Object
Constructor | Description |
---|---|
XmlResponsesSaxParser(Jets3tProperties properties,
boolean returnGoogleStorageObjects) |
Constructs the XML SAX parser.
|
public XmlResponsesSaxParser(Jets3tProperties properties, boolean returnGoogleStorageObjects) throws ServiceException
properties
- the JetS3t properties that will be applied when parsing XML documents.S3ServiceException
ServiceException
public XmlResponsesSaxParser.ListBucketHandler parseListBucketResponse(InputStream inputStream) throws ServiceException
inputStream
- XML data input stream.ServiceException
public XmlResponsesSaxParser.ListAllMyBucketsHandler parseListMyBucketsResponse(InputStream inputStream) throws ServiceException
inputStream
- XML data input stream.ServiceException
public AccessControlListHandler parseAccessControlListResponse(InputStream inputStream) throws ServiceException
inputStream
- XML data input stream.ServiceException
public AccessControlListHandler parseAccessControlListResponse(InputStream inputStream, AccessControlListHandler handler) throws ServiceException
inputStream
- XML data input stream.handler
- the instance of AccessControlListHandler to be used.ServiceException
public XmlResponsesSaxParser.BucketLoggingStatusHandler parseLoggingStatusResponse(InputStream inputStream) throws ServiceException
inputStream
- XML data input stream.ServiceException
public String parseBucketLocationResponse(InputStream inputStream) throws ServiceException
ServiceException
public XmlResponsesSaxParser.CopyObjectResultHandler parseCopyObjectResponse(InputStream inputStream) throws ServiceException
ServiceException
public boolean parseRequestPaymentConfigurationResponse(InputStream inputStream) throws ServiceException
inputStream
- ServiceException
public S3BucketVersioningStatus parseVersioningConfigurationResponse(InputStream inputStream) throws ServiceException
inputStream
- ServiceException
public XmlResponsesSaxParser.ListVersionsResultsHandler parseListVersionsResponse(InputStream inputStream) throws ServiceException
ServiceException
public MultipartUpload parseInitiateMultipartUploadResult(InputStream inputStream) throws ServiceException
ServiceException
public XmlResponsesSaxParser.ListMultipartUploadsResultHandler parseListMultipartUploadsResult(InputStream inputStream) throws ServiceException
ServiceException
public XmlResponsesSaxParser.ListMultipartPartsResultHandler parseListMultipartPartsResult(InputStream inputStream) throws ServiceException
ServiceException
public XmlResponsesSaxParser.CompleteMultipartUploadResultHandler parseCompleteMultipartUploadResult(InputStream inputStream) throws ServiceException
ServiceException
public WebsiteConfig parseWebsiteConfigurationResponse(InputStream inputStream) throws ServiceException
ServiceException
public NotificationConfig parseNotificationConfigurationResponse(InputStream inputStream) throws ServiceException
ServiceException