org.jets3t.service.acl.gs
Class AllUsersGrantee
java.lang.Object
org.jets3t.service.acl.GroupGrantee
org.jets3t.service.acl.gs.AllUsersGrantee
- All Implemented Interfaces:
- GranteeInterface
public class AllUsersGrantee
- extends GroupGrantee
Represents a grant to all users.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AllUsersGrantee
public AllUsersGrantee()
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