org.jets3t.service.model
Class WebsiteConfig

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

public class WebsiteConfig
extends Object

Represents the website configuraton of a bucket

Author:
James Murty

Constructor Summary
WebsiteConfig(String indexDocumentSuffix)
           
WebsiteConfig(String indexDocumentSuffix, String errorDocumentKey)
           
 
Method Summary
 String getErrorDocumentKey()
           
 String getIndexDocumentSuffix()
           
 boolean isWebsiteConfigActive()
           
 String toXml()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebsiteConfig

public WebsiteConfig(String indexDocumentSuffix,
                     String errorDocumentKey)

WebsiteConfig

public WebsiteConfig(String indexDocumentSuffix)
Method Detail

getIndexDocumentSuffix

public String getIndexDocumentSuffix()

getErrorDocumentKey

public String getErrorDocumentKey()

isWebsiteConfigActive

public boolean isWebsiteConfigActive()

toXml

public String toXml()
             throws ParserConfigurationException,
                    FactoryConfigurationError,
                    TransformerException
Returns:
An XML representation of the object suitable for use as an input to the REST/HTTP interface.
Throws:
FactoryConfigurationError
ParserConfigurationException
TransformerException