Class XmlResponsesSaxParser.AccessControlListHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- com.amazonaws.services.s3.model.transform.XmlResponsesSaxParser.AccessControlListHandler
-
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Enclosing class:
- XmlResponsesSaxParser
public static class XmlResponsesSaxParser.AccessControlListHandler extends DefaultHandler
Handler for AccessControlList response XML documents. The document is parsed into anAccessControlList
object available via thegetAccessControlList()
method.
-
-
Constructor Summary
Constructors Constructor Description AccessControlListHandler()
-
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.AccessControlList
getAccessControlList()
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
-
getAccessControlList
public com.amazonaws.services.s3.model.AccessControlList getAccessControlList()
- Returns:
- an object representing the ACL document.
-
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)
-
-