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
StorageBucket
s available via the getBuckets()
method.- Author:
- James Murty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
endElement
(String name, String elementText) getOwner()
void
startElement
(String name) Methods inherited from class org.jets3t.service.impl.rest.DefaultXmlHandler
characters, endDocument, endElement, startDocument, startElement, startElement
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
startElement
in classDefaultXmlHandler
-
endElement
- Overrides:
endElement
in classDefaultXmlHandler
-