Package org.jets3t.service.impl.rest
Class XmlResponsesSaxParser.ListAllMyBucketsHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jets3t.service.impl.rest.DefaultXmlHandler
org.jets3t.service.impl.rest.XmlResponsesSaxParser.ListAllMyBucketsHandler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler
- Enclosing class:
XmlResponsesSaxParser
Handler for ListAllMyBuckets response XML documents. The document is parsed into
StorageBuckets available via the getBuckets() method.- Author:
- James Murty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidendElement(String name, String elementText) getOwner()voidstartElement(String name) Methods inherited from class org.jets3t.service.impl.rest.DefaultXmlHandler
characters, endDocument, endElement, startDocument, startElement, startElementMethods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
ListAllMyBucketsHandler
public ListAllMyBucketsHandler()
-
-
Method Details
-
getBuckets
- Returns:
- the buckets listed in the document.
-
getOwner
- Returns:
- the owner of the buckets.
-
startElement
- Overrides:
startElementin classDefaultXmlHandler
-
endElement
- Overrides:
endElementin classDefaultXmlHandler
-