diff options
Diffstat (limited to 'src/de/danoeh/antennapod/syndication/namespace/NSContent.java')
-rw-r--r-- | src/de/danoeh/antennapod/syndication/namespace/NSContent.java | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/de/danoeh/antennapod/syndication/namespace/NSContent.java b/src/de/danoeh/antennapod/syndication/namespace/NSContent.java deleted file mode 100644 index 9ad3026be..000000000 --- a/src/de/danoeh/antennapod/syndication/namespace/NSContent.java +++ /dev/null @@ -1,25 +0,0 @@ -package de.danoeh.antennapod.syndication.namespace; - -import de.danoeh.antennapod.syndication.handler.HandlerState; -import org.xml.sax.Attributes; - -public class NSContent extends Namespace { - public static final String NSTAG = "content"; - public static final String NSURI = "http://purl.org/rss/1.0/modules/content/"; - - private static final String ENCODED = "encoded"; - - @Override - public SyndElement handleElementStart(String localName, HandlerState state, - Attributes attributes) { - return new SyndElement(localName, this); - } - - @Override - public void handleElementEnd(String localName, HandlerState state) { - if (localName.equals(ENCODED)) { - state.getCurrentItem().setContentEncoded(state.getContentBuf().toString()); - } - } - -} |