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/Namespace.java | |
parent | f78755bd1392c28bbad45bbd2a5ad884d97c7bb5 (diff) | |
download | AntennaPod-b1dbb0f45e4c4f824ab00acfb7fa4906b85063c9.zip |
Created SyndHandler and Namespace classes
Diffstat (limited to 'src/de/podfetcher/syndication/namespace/Namespace.java')
-rw-r--r-- | src/de/podfetcher/syndication/namespace/Namespace.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/de/podfetcher/syndication/namespace/Namespace.java b/src/de/podfetcher/syndication/namespace/Namespace.java new file mode 100644 index 000000000..152c53652 --- /dev/null +++ b/src/de/podfetcher/syndication/namespace/Namespace.java @@ -0,0 +1,18 @@ +package de.podfetcher.syndication.namespace; + +import org.xml.sax.Attributes; + +import de.podfetcher.feed.Feed; + + +public abstract class Namespace { + + /** Called by a Feedhandler when in startElement and it detects a namespace element */ + public abstract void handleElement(String localName, Feed feed, Attributes attributes); + + /** Called by a Feedhandler when in characters and it detects a namespace element */ + public abstract void handleCharacters(String localName, Feed feed, char ch[], int start, int length); + + public abstract String getNsTag(); + public abstract String getNsURI(); +} |