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
 boolean equals(java.lang.Object obj)
           
 java.lang.String getIdentifier()
          Returns the group grantee's URI.
 java.lang.String toString()
           
 java.lang.String toXml()
           
 com.jamesmurty.utils.XMLBuilder toXMLBuilder()
           
 
Methods inherited from class org.jets3t.service.acl.GroupGrantee
hashCode, setIdentifier
 
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

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class GroupGrantee

getIdentifier

public java.lang.String getIdentifier()
Description copied from class: GroupGrantee
Returns the group grantee's URI.

Specified by:
getIdentifier in interface GranteeInterface
Overrides:
getIdentifier in class GroupGrantee

toString

public java.lang.String toString()
Overrides:
toString in class GroupGrantee