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
public class XmlResponsesSaxParser.BucketLocationHandler extends DefaultXmlHandler
Handler for CreateBucketConfiguration response XML documents for a bucket. The document is parsed into a String representing the bucket's location, available via thegetLocation()
method.- Author:
- James Murty
-
-
Constructor Summary
Constructors Constructor Description BucketLocationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endElement(String name, String elementText)
String
getLocation()
-
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
-
-
-
-
Method Detail
-
getLocation
public String getLocation()
- Returns:
- the bucket's location.
-
endElement
public void endElement(String name, String elementText)
- Overrides:
endElement
in classDefaultXmlHandler
-
-