Package org.jclouds.s3.xml
Class ListAllMyBucketsHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jclouds.http.functions.ParseSax.HandlerWithResult<Set<BucketMetadata>>
org.jclouds.s3.xml.ListAllMyBucketsHandler
- All Implemented Interfaces:
org.jclouds.rest.InvocationContext<org.jclouds.http.functions.ParseSax.HandlerWithResult<Set<BucketMetadata>>>,ContentHandler,DTDHandler,EntityResolver,ErrorHandler
public class ListAllMyBucketsHandler
extends org.jclouds.http.functions.ParseSax.HandlerWithResult<Set<BucketMetadata>>
Parses the following XML document:
SetAllMyBucketsResult xmlns="http://doc.s3.amazonaws.com/2006-03-01"
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) voidendElement(String uri, String name, String qName) Methods inherited from class org.jclouds.http.functions.ParseSax.HandlerWithResult
getRequest, setContextMethods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
ListAllMyBucketsHandler
@Inject public ListAllMyBucketsHandler(org.jclouds.date.DateService dateParser)
-
-
Method Details
-
getResult
- Specified by:
getResultin classorg.jclouds.http.functions.ParseSax.HandlerWithResult<Set<BucketMetadata>>
-
endElement
- Specified by:
endElementin interfaceContentHandler- Overrides:
endElementin classDefaultHandler
-
characters
public void characters(char[] ch, int start, int length) - Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler
-