org.jets3t.service.acl.gs
Class AllUsersGrantee

java.lang.Object
  extended by org.jets3t.service.acl.GroupGrantee
      extended by org.jets3t.service.acl.gs.AllUsersGrantee
All Implemented Interfaces:
GranteeInterface

public class AllUsersGrantee
extends GroupGrantee

Represents a grant to all users.


Field Summary
 
Fields inherited from class org.jets3t.service.acl.GroupGrantee
ALL_USERS, AUTHENTICATED_USERS, LOG_DELIVERY
 
Constructor Summary
AllUsersGrantee()
           
 
Method Summary
 java.lang.String toXml()
           
 com.jamesmurty.utils.XMLBuilder toXMLBuilder()
           
 
Methods inherited from class org.jets3t.service.acl.GroupGrantee
equals, getIdentifier, hashCode, setIdentifier, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AllUsersGrantee

public AllUsersGrantee()
Method Detail

toXml

public java.lang.String toXml()
                       throws javax.xml.transform.TransformerException,
                              javax.xml.parsers.ParserConfigurationException,
                              javax.xml.parsers.FactoryConfigurationError
Specified by:
toXml in interface GranteeInterface
Overrides:
toXml in class GroupGrantee
Returns:
the grantee represented in an XML fragment compatible with the S3 REST interface.
Throws:
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.FactoryConfigurationError

toXMLBuilder

public com.jamesmurty.utils.XMLBuilder toXMLBuilder()
                                             throws javax.xml.transform.TransformerException,
                                                    javax.xml.parsers.ParserConfigurationException,
                                                    javax.xml.parsers.FactoryConfigurationError
Specified by:
toXMLBuilder in interface GranteeInterface
Overrides:
toXMLBuilder in class GroupGrantee
Throws:
javax.xml.transform.TransformerException
javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.FactoryConfigurationError