@Override
public Module parse(final Element syndRoot, final Locale locale) {
boolean foundSomething = false;
final SyModule sm = new SyModuleImpl();
final Element updatePeriod = syndRoot.getChild("updatePeriod", getDCNamespace());
if (updatePeriod != null) {
foundSomething = true;
sm.setUpdatePeriod(updatePeriod.getText());
}
final Element updateFrequency = syndRoot.getChild("updateFrequency", getDCNamespace());
if (updateFrequency != null) {
foundSomething = true;
sm.setUpdateFrequency(Integer.parseInt(updateFrequency.getText().trim()));
}
final Element updateBase = syndRoot.getChild("updateBase", getDCNamespace());
if (updateBase != null) {
foundSomething = true;
sm.setUpdateBase(DateParser.parseDate(updateBase.getText(), locale));
}
if (foundSomething) {
return sm;
} else {