reader.require(XMLStreamConstants.START_ELEMENT, Edm.NAMESPACE_ATOM_2005, FormatXml.ATOM_CATEGORY);
CategoryImpl category = new CategoryImpl();
category.setScheme(reader.getAttributeValue(null, FormatXml.ATOM_CATEGORY_SCHEME));
category.setTerm(reader.getAttributeValue(null, FormatXml.ATOM_CATEGORY_TERM));
category.setLabel(reader.getAttributeValue(null, FormatXml.ATOM_CATEGORY_LABEL));
CommonAttributesImpl attributes = parseCommonAttribute(reader);
return category.setCommonAttributes(attributes);
}