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
public class XmlResponsesSaxParser.ListAllMyBucketsHandler extends DefaultXmlHandler
Handler for ListAllMyBuckets response XML documents. The document is parsed intoStorageBuckets available via thegetBuckets()method.- Author:
- James Murty
-
-
Constructor Summary
Constructors Constructor Description ListAllMyBucketsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidendElement(String name, String elementText)StorageBucket[]getBuckets()StorageOwnergetOwner()voidstartElement(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
-
-
-
-
Method Detail
-
getBuckets
public StorageBucket[] getBuckets()
- Returns:
- the buckets listed in the document.
-
getOwner
public StorageOwner getOwner()
- Returns:
- the owner of the buckets.
-
startElement
public void startElement(String name)
- Overrides:
startElementin classDefaultXmlHandler
-
endElement
public void endElement(String name, String elementText)
- Overrides:
endElementin classDefaultXmlHandler
-
-