From b1dbb0f45e4c4f824ab00acfb7fa4906b85063c9 Mon Sep 17 00:00:00 2001 From: daniel oeh Date: Fri, 8 Jun 2012 21:20:22 +0200 Subject: Created SyndHandler and Namespace classes --- src/de/podfetcher/syndication/namespace/Namespace.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/de/podfetcher/syndication/namespace/Namespace.java (limited to 'src/de/podfetcher/syndication/namespace/Namespace.java') 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(); +} -- cgit v1.2.3