Package org.jets3t.service.acl
Interface GranteeInterface
-
- All Known Implementing Classes:
AllAuthenticatedUsersGrantee
,AllUsersGrantee
,CanonicalGrantee
,EmailAddressGrantee
,GroupByDomainGrantee
,GroupByEmailAddressGrantee
,GroupByIdGrantee
,GroupGrantee
,UserByEmailAddressGrantee
,UserByIdGrantee
public interface GranteeInterface
Represents a grantee (entity) who can be assigned access permissions in anAccessControlList
. All grantees have an ID of some kind (though the format of the ID can differ depending on the kind of grantee) and can be represented as an XML fragment suitable for use by the S3 REST implementation.- Author:
- James Murty
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getIdentifier()
void
setIdentifier(String id)
String
toXml()
com.jamesmurty.utils.XMLBuilder
toXMLBuilder()
-
-
-
Method Detail
-
toXml
String toXml() throws TransformerException, ParserConfigurationException, FactoryConfigurationError
- Returns:
- the grantee represented in an XML fragment compatible with the S3 REST interface.
- Throws:
TransformerException
ParserConfigurationException
FactoryConfigurationError
-
toXMLBuilder
com.jamesmurty.utils.XMLBuilder toXMLBuilder() throws TransformerException, ParserConfigurationException, FactoryConfigurationError
-
setIdentifier
void setIdentifier(String id)
-
getIdentifier
String getIdentifier()
-
-