Flud+ v1.11.1.2版本的 MD5 值为:8801c2f52bfd51902dee3a73c65b73f8
以下内容为反编译后的 RSS10Parser.java 源代码,内容仅作参考
package com.rometools.rome.io.impl;
import a5.rt.FZMvfh;
import c7.wJCl.RMosimuTThoC;
import com.rometools.rome.feed.WireFeed;
import com.rometools.rome.feed.rss.Channel;
import com.rometools.rome.feed.rss.Content;
import com.rometools.rome.feed.rss.Description;
import com.rometools.rome.feed.rss.Item;
import java.util.Locale;
import sa.n;
import sa.o;
import sa.r;
public class RSS10Parser extends RSS090Parser {
private static final String RSS_URI = "http://purl.org/rss/1.0/";
private static final r RSS_NS = r.a("", RSS_URI);
public RSS10Parser() {
this(FZMvfh.YSRoG, RSS_NS);
}
public RSS10Parser(String str, r rVar) {
super(str, rVar);
}
@Override
public r getRSSNamespace() {
return r.a("", RSS_URI);
}
@Override
public boolean isMyType(n nVar) {
o c10 = nVar.c();
r rVar = c10.f11580m;
return (rVar == null || !rVar.equals(getRDFNamespace()) || c10.q("channel", getRSSNamespace()) == null) ? false : true;
}
@Override
public WireFeed parseChannel(o oVar, Locale locale) {
Channel channel = (Channel) super.parseChannel(oVar, locale);
String o10 = oVar.q("channel", getRSSNamespace()).o("about", getRDFNamespace());
if (o10 != null) {
channel.setUri(o10);
}
return channel;
}
@Override
public Item parseItem(o oVar, o oVar2, Locale locale) {
Item parseItem = super.parseItem(oVar, oVar2, locale);
o q10 = oVar2.q("description", getRSSNamespace());
if (q10 != null) {
parseItem.setDescription(parseItemDescription(oVar, q10));
}
o q11 = oVar2.q("encoded", getContentNamespace());
if (q11 != null) {
Content content = new Content();
content.setType("html");
content.setValue(q11.w());
parseItem.setContent(content);
}
String o10 = oVar2.o(RMosimuTThoC.nGhcuXXDJk, getRDFNamespace());
if (o10 != null) {
parseItem.setUri(o10);
}
return parseItem;
}
public Description parseItemDescription(o oVar, o oVar2) {
Description description = new Description();
description.setType(FZMvfh.roZWNqYqOAscrE);
description.setValue(oVar2.w());
return description;
}
}