Package org.jets3t.service.impl.rest
Class XmlResponsesSaxParser.BucketLocationHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jets3t.service.impl.rest.DefaultXmlHandler
org.jets3t.service.impl.rest.XmlResponsesSaxParser.BucketLocationHandler
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Enclosing class:
XmlResponsesSaxParser
Handler for CreateBucketConfiguration response XML documents for a bucket.
The document is parsed into a String representing the bucket's location,
available via the
getLocation()
method.- Author:
- James Murty
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jets3t.service.impl.rest.DefaultXmlHandler
characters, endDocument, endElement, startDocument, startElement, 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
-
BucketLocationHandler
public BucketLocationHandler()
-
-
Method Details
-
getLocation
- Returns:
- the bucket's location.
-
endElement
- Overrides:
endElement
in classDefaultXmlHandler
-