XmlPullParser parser = getParser();
if (!(entry instanceof GroupEntry)) {
throw new IllegalArgumentException("Expected GroupEntry!");
}
GroupEntry groupEntry = (GroupEntry) entry;
String name = parser.getName();
if ("systemGroup".equals(name)) {
String systemGroup = parser.getAttributeValue(null /* ns */, "id");
// if the systemGroup is the empty string, convert it to a null
if (StringUtils.isEmpty(systemGroup)) systemGroup = null;
groupEntry.setSystemGroup(systemGroup);
}