public class CloudFrontXmlResponsesSaxParser extends Object
Constructor and Description |
---|
CloudFrontXmlResponsesSaxParser(Jets3tProperties properties)
Constructs the XML SAX parser.
|
public CloudFrontXmlResponsesSaxParser(Jets3tProperties properties) throws ServiceException
properties
- the JetS3t properties that will be applied when parsing XML documents.S3ServiceException
ServiceException
public Jets3tProperties getProperties()
protected void parseXmlInputStream(DefaultHandler handler, InputStream inputStream) throws CloudFrontServiceException
handler
- The handler for the XML documentinputStream
- An input stream containing the XML document to parseCloudFrontServiceException
- Any parsing, IO or other exceptions are wrapped in an S3ServiceException.public CloudFrontXmlResponsesSaxParser.DistributionListHandler parseDistributionListResponse(InputStream inputStream) throws CloudFrontServiceException
inputStream
- XML data input stream.CloudFrontServiceException
public CloudFrontXmlResponsesSaxParser.DistributionHandler parseDistributionResponse(InputStream inputStream) throws CloudFrontServiceException
CloudFrontServiceException
public CloudFrontXmlResponsesSaxParser.DistributionConfigHandler parseDistributionConfigResponse(InputStream inputStream) throws CloudFrontServiceException
CloudFrontServiceException
public CloudFrontXmlResponsesSaxParser.OriginAccessIdentityHandler parseOriginAccessIdentity(InputStream inputStream) throws CloudFrontServiceException
CloudFrontServiceException
public CloudFrontXmlResponsesSaxParser.OriginAccessIdentityConfigHandler parseOriginAccessIdentityConfig(InputStream inputStream) throws CloudFrontServiceException
CloudFrontServiceException
public CloudFrontXmlResponsesSaxParser.OriginAccessIdentityListHandler parseOriginAccessIdentityListResponse(InputStream inputStream) throws CloudFrontServiceException
CloudFrontServiceException
public CloudFrontXmlResponsesSaxParser.InvalidationHandler parseInvalidationResponse(InputStream inputStream) throws CloudFrontServiceException
CloudFrontServiceException
public CloudFrontXmlResponsesSaxParser.InvalidationListHandler parseInvalidationListResponse(InputStream inputStream) throws CloudFrontServiceException
CloudFrontServiceException
public CloudFrontXmlResponsesSaxParser.ErrorHandler parseErrorResponse(InputStream inputStream) throws CloudFrontServiceException
CloudFrontServiceException
Copyright © 2006–2018. All rights reserved.