public String getNamespaceUri() {
return FeedBurner.URI;
}
public Module parse(Element element) {
FeedBurnerImpl fbi = new FeedBurnerImpl();
boolean returnObj = false;
Element tag = element.getChild("awareness", FeedBurnerModuleParser.NS);
if (tag != null) {
fbi.setAwareness(tag.getText().trim());
returnObj = true;
}
tag = element.getChild("origLink", FeedBurnerModuleParser.NS);
if (tag != null) {
fbi.setOrigLink(tag.getText().trim());
returnObj = true;
}
tag = element.getChild("origEnclosureLink", FeedBurnerModuleParser.NS);
if (tag != null) {
fbi.setOrigEnclosureLink(tag.getText().trim());
returnObj = true;
}
if (returnObj) {
return fbi;