this.state = State.FEED_ENTRY_LINK;
} else if (this.state == State.FEED_ENTRY_SOURCE) {
this.state = State.FEED_ENTRY_SOURCE_LINK;
}
// Glean the content
this.currentContent = new Content();
// Content available inline
initiateInlineMixedContent();
this.currentLink.setContent(currentContent);
startLink(this.currentLink);
} else if (localName.equalsIgnoreCase("entry")) {
if (this.state == State.FEED) {
this.currentEntry = new Entry();
this.state = State.FEED_ENTRY;
}
startEntry(this.currentEntry);
} else if (localName.equals("category")) {
this.currentCategory = new Category();
this.currentCategory.setTerm(attrs.getValue("", "term"));
this.currentCategory.setScheme(new Reference(attrs.getValue("",
"scheme")));
this.currentCategory.setLabel(attrs.getValue("", "label"));
if (this.state == State.FEED) {
this.state = State.FEED_CATEGORY;
} else if (this.state == State.FEED_ENTRY) {
this.state = State.FEED_ENTRY_CATEGORY;
} else if (this.state == State.FEED_ENTRY_SOURCE) {
this.state = State.FEED_ENTRY_SOURCE_CATEGORY;
}
} else if (localName.equalsIgnoreCase("content")) {
if (this.state == State.FEED_ENTRY) {
contentType = getMediaType(attrs.getValue("", "type"));
String srcAttr = attrs.getValue("", "src");
this.currentContent = new Content();
if (srcAttr == null) {
// Content available inline
initiateInlineMixedContent();
} else {