org.jets3t.service.model
Class S3WebsiteConfig

java.lang.Object
  extended by org.jets3t.service.model.WebsiteConfig
      extended by org.jets3t.service.model.S3WebsiteConfig

public class S3WebsiteConfig
extends WebsiteConfig

Represents the website configuration of a bucket


Constructor Summary
S3WebsiteConfig(java.lang.String indexDocumentSuffix)
           
S3WebsiteConfig(java.lang.String indexDocumentSuffix, java.lang.String errorDocumentKey)
           
 
Method Summary
 java.lang.String toXml()
           
 
Methods inherited from class org.jets3t.service.model.WebsiteConfig
getErrorDocumentKey, getIndexDocumentSuffix, isWebsiteConfigActive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

S3WebsiteConfig

public S3WebsiteConfig(java.lang.String indexDocumentSuffix,
                       java.lang.String errorDocumentKey)

S3WebsiteConfig

public S3WebsiteConfig(java.lang.String indexDocumentSuffix)
Method Detail

toXml

public java.lang.String toXml()
                       throws javax.xml.parsers.ParserConfigurationException,
                              javax.xml.parsers.FactoryConfigurationError,
                              javax.xml.transform.TransformerException
Specified by:
toXml in class WebsiteConfig
Returns:
An XML representation of the object suitable for use as an input to the REST/HTTP interface.
Throws:
javax.xml.parsers.FactoryConfigurationError
javax.xml.parsers.ParserConfigurationException
javax.xml.transform.TransformerException