diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-06-08 21:20:22 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-06-08 21:20:22 +0200 |
commit | b1dbb0f45e4c4f824ab00acfb7fa4906b85063c9 (patch) | |
tree | 5eeaf661fbdeb27308a8814e5be0429a5a428e49 /src/de/podfetcher/syndication/namespace/atom | |
parent | f78755bd1392c28bbad45bbd2a5ad884d97c7bb5 (diff) | |
download | AntennaPod-b1dbb0f45e4c4f824ab00acfb7fa4906b85063c9.zip |
Created SyndHandler and Namespace classes
Diffstat (limited to 'src/de/podfetcher/syndication/namespace/atom')
-rw-r--r-- | src/de/podfetcher/syndication/namespace/atom/NSAtom.java | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/de/podfetcher/syndication/namespace/atom/NSAtom.java b/src/de/podfetcher/syndication/namespace/atom/NSAtom.java new file mode 100644 index 000000000..c55e9fcd6 --- /dev/null +++ b/src/de/podfetcher/syndication/namespace/atom/NSAtom.java @@ -0,0 +1,38 @@ +package de.podfetcher.syndication.namespace.atom; + +import org.xml.sax.Attributes; + +import de.podfetcher.feed.Feed; +import de.podfetcher.syndication.namespace.Namespace; + +public class NSAtom extends Namespace { + private static final String TITLE = "title"; + private static final String LINK = "link"; + private static final String UPDATED = "updated"; + private static final String AUTHOR = "author"; + + @Override + public void handleElement(String localName, Feed feed, Attributes attributes) { + if (localName.equals(TITLE)) { + + } + + } + + @Override + public void handleCharacters(String localName, Feed feed, char[] ch, + int start, int length) { + + } + + @Override + public String getNsTag() { + return "atom"; + } + + @Override + public String getNsURI() { + return "http://www.w3.org/2005/Atom"; + } + +} |