QName elementQName = reader.getName();
String elementName = elementQName.toString();
if (ELEMENT_CREATION_DATE.equals(elementName)) {
CreationDate creationDate = new CreationDate();
creationDate.setFormat(reader.getAttributeValue(null, ATTRIBUTE_FORMAT));
// get the CHARACTERS event to get the date string
eventType = reader.next();
if (eventType == XMLStreamConstants.CHARACTERS) {
creationDate.setValue(reader.getText());
}
meta.setCreationDate(creationDate);
}
else if (ELEMENT_LAST_MODIFICATION_DATE.equals(elementName)) {
LastModificationDate lastModDate = new LastModificationDate();