|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jets3t.service.impl.rest.CloudFrontXmlResponsesSaxParser
public class CloudFrontXmlResponsesSaxParser
XML Sax parser to read XML documents returned by the CloudFront service via the REST interface, and convert these documents into JetS3t objects.
| Constructor Summary | |
|---|---|
CloudFrontXmlResponsesSaxParser(Jets3tProperties properties)
Constructs the XML SAX parser. |
|
| Method Summary | |
|---|---|
CloudFrontXmlResponsesSaxParser.DistributionConfigHandler |
parseDistributionConfigResponse(java.io.InputStream inputStream)
|
CloudFrontXmlResponsesSaxParser.ListDistributionListHandler |
parseDistributionListResponse(java.io.InputStream inputStream)
Parses a ListBucket response XML document from an input stream. |
CloudFrontXmlResponsesSaxParser.DistributionHandler |
parseDistributionResponse(java.io.InputStream inputStream)
|
CloudFrontXmlResponsesSaxParser.ErrorHandler |
parseErrorResponse(java.io.InputStream inputStream)
|
protected void |
parseXmlInputStream(org.xml.sax.helpers.DefaultHandler handler,
java.io.InputStream inputStream)
Parses an XML document from an input stream using a document handler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CloudFrontXmlResponsesSaxParser(Jets3tProperties properties)
throws S3ServiceException
properties - the JetS3t properties that will be applied when parsing XML documents.
S3ServiceException| Method Detail |
|---|
protected void parseXmlInputStream(org.xml.sax.helpers.DefaultHandler handler,
java.io.InputStream inputStream)
throws CloudFrontServiceException
handler - the handler for the XML documentinputStream - an input stream containing the XML document to parse
S3ServiceException - any parsing, IO or other exceptions are wrapped in an S3ServiceException.
CloudFrontServiceException
public CloudFrontXmlResponsesSaxParser.ListDistributionListHandler parseDistributionListResponse(java.io.InputStream inputStream)
throws CloudFrontServiceException
inputStream - XML data input stream.
S3ServiceException
CloudFrontServiceException
public CloudFrontXmlResponsesSaxParser.DistributionHandler parseDistributionResponse(java.io.InputStream inputStream)
throws CloudFrontServiceException
CloudFrontServiceException
public CloudFrontXmlResponsesSaxParser.DistributionConfigHandler parseDistributionConfigResponse(java.io.InputStream inputStream)
throws CloudFrontServiceException
CloudFrontServiceException
public CloudFrontXmlResponsesSaxParser.ErrorHandler parseErrorResponse(java.io.InputStream inputStream)
throws CloudFrontServiceException
CloudFrontServiceException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||