this.targetPrefix = currentOrNull(currentText);
} else if (qName.equals("Grantee")) {
if ("AmazonCustomerByEmail".equals(currentGranteeType)) {
currentGrantee = new EmailAddressGrantee(currentId);
} else if ("CanonicalUser".equals(currentGranteeType)) {
currentGrantee = new CanonicalUserGrantee(currentId, currentDisplayName);
} else if ("Group".equals(currentGranteeType)) {
currentGrantee = new GroupGrantee(URI.create(currentId));
}
} else if (qName.equals("Grant")) {
targetGrants.add(new Grant(currentGrantee, currentPermission));