Package org.jets3t.service.impl.rest
Class XmlResponsesSaxParser.RequestPaymentConfigurationHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jets3t.service.impl.rest.DefaultXmlHandler
org.jets3t.service.impl.rest.XmlResponsesSaxParser.RequestPaymentConfigurationHandler
- All Implemented Interfaces:
ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Enclosing class:
XmlResponsesSaxParser
Handler for RequestPaymentConfiguration response XML documents for a bucket.
The document is parsed into a boolean value: true if the bucket is configured
as Requester Pays, false if it is configured as Owner pays. This boolean value
is available via the
isRequesterPays()
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
-
RequestPaymentConfigurationHandler
public RequestPaymentConfigurationHandler()
-
-
Method Details
-
isRequesterPays
public boolean isRequesterPays()- Returns:
- true if the bucket is configured as Requester Pays, false if it is configured as Owner pays.
-
endElement
- Overrides:
endElement
in classDefaultXmlHandler
-