Class XmlResponsesSaxParser.ListBucketHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser.ListBucketHandler
-
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Enclosing class:
- XmlResponsesSaxParser
public static class XmlResponsesSaxParser.ListBucketHandler extends DefaultHandler
Handler for ListBucket response XML documents.
-
-
Constructor Summary
Constructors Constructor Description ListBucketHandler(boolean shouldSDKDecodeResponse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
atTopLevel()
void
characters(char[] arg0, int arg1, int arg2)
protected void
doEndElement(String uri, String name, String qName)
protected void
doStartElement(String uri, String name, String qName, Attributes attrs)
void
endElement(String arg0, String arg1, String arg2)
com.amazonaws.services.s3.model.ObjectListing
getObjectListing()
protected String
getText()
protected boolean
in(String... arg0)
void
startElement(String arg0, String arg1, String arg2, Attributes arg3)
-
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
-
-
-
-
Method Detail
-
getObjectListing
public com.amazonaws.services.s3.model.ObjectListing getObjectListing()
-
doStartElement
protected void doStartElement(String uri, String name, String qName, Attributes attrs)
-
startElement
public final void startElement(String arg0, String arg1, String arg2, Attributes arg3)
- Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
-
endElement
public final void endElement(String arg0, String arg1, String arg2)
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
-
characters
public final void characters(char[] arg0, int arg1, int arg2)
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
-
getText
protected final String getText()
-
atTopLevel
protected final boolean atTopLevel()
-
in
protected final boolean in(String... arg0)
-
-