diff options
author | daniel oeh <daniel.oeh@gmail.com> | 2012-06-26 18:55:43 +0200 |
---|---|---|
committer | daniel oeh <daniel.oeh@gmail.com> | 2012-06-26 18:55:43 +0200 |
commit | e5e7015df314d419035d9788c50a6ca63520e926 (patch) | |
tree | 621a99d67baf2ca3e95178b2582cb944682efc1b /src/de/podfetcher | |
parent | 0d6a7580de4bef2128468457b1b12958de63a08d (diff) | |
download | AntennaPod-e5e7015df314d419035d9788c50a6ca63520e926.zip |
removed 'characters' method from namespace class
Diffstat (limited to 'src/de/podfetcher')
6 files changed, 0 insertions, 30 deletions
diff --git a/src/de/podfetcher/syndication/handler/SyndHandler.java b/src/de/podfetcher/syndication/handler/SyndHandler.java index 3cecabd64..d4b7482ea 100644 --- a/src/de/podfetcher/syndication/handler/SyndHandler.java +++ b/src/de/podfetcher/syndication/handler/SyndHandler.java @@ -51,10 +51,6 @@ public class SyndHandler extends DefaultHandler { state.contentBuf.append(content); } } - SyndElement top = state.tagstack.peek(); - if (top.getNamespace() != null) { - top.getNamespace().handleCharacters(state, ch, start, length); - } } } diff --git a/src/de/podfetcher/syndication/namespace/Namespace.java b/src/de/podfetcher/syndication/namespace/Namespace.java index 6142c9590..5d34250dc 100644 --- a/src/de/podfetcher/syndication/namespace/Namespace.java +++ b/src/de/podfetcher/syndication/namespace/Namespace.java @@ -15,9 +15,6 @@ public abstract class Namespace { * */ public abstract SyndElement handleElementStart(String localName, HandlerState state, Attributes attributes); - /** Called by a Feedhandler when in characters and it detects a namespace element */ - public abstract void handleCharacters(HandlerState state, char ch[], int start, int length); - /** Called by a Feedhandler when in endElement and it detects a namespace element * @return true if namespace handled the element, false if it ignored it * */ diff --git a/src/de/podfetcher/syndication/namespace/atom/NSAtom.java b/src/de/podfetcher/syndication/namespace/atom/NSAtom.java index 979f3a86a..826954beb 100644 --- a/src/de/podfetcher/syndication/namespace/atom/NSAtom.java +++ b/src/de/podfetcher/syndication/namespace/atom/NSAtom.java @@ -95,11 +95,6 @@ public class NSAtom extends Namespace { return new SyndElement(localName, this); } - @Override - public void handleCharacters(HandlerState state, char[] ch, int start, - int length) { - - } @Override public void handleElementEnd(String localName, HandlerState state) { diff --git a/src/de/podfetcher/syndication/namespace/content/NSContent.java b/src/de/podfetcher/syndication/namespace/content/NSContent.java index 8dcfc208a..3cfdedac3 100644 --- a/src/de/podfetcher/syndication/namespace/content/NSContent.java +++ b/src/de/podfetcher/syndication/namespace/content/NSContent.java @@ -21,12 +21,6 @@ public class NSContent extends Namespace { } @Override - public void handleCharacters(HandlerState state, char[] ch, int start, - int length) { - - } - - @Override public void handleElementEnd(String localName, HandlerState state) { if (localName.equals(ENCODED)) { state.getCurrentItem().setContentEncoded(state.getContentBuf().toString()); diff --git a/src/de/podfetcher/syndication/namespace/itunes/NSITunes.java b/src/de/podfetcher/syndication/namespace/itunes/NSITunes.java index a93af978b..a10f2cd17 100644 --- a/src/de/podfetcher/syndication/namespace/itunes/NSITunes.java +++ b/src/de/podfetcher/syndication/namespace/itunes/NSITunes.java @@ -30,13 +30,6 @@ public class NSITunes extends Namespace{ } @Override - public void handleCharacters(HandlerState state, char[] ch, int start, - int length) { - - - } - - @Override public void handleElementEnd(String localName, HandlerState state) { diff --git a/src/de/podfetcher/syndication/namespace/rss20/NSRSS20.java b/src/de/podfetcher/syndication/namespace/rss20/NSRSS20.java index f245882ad..87e5d89a7 100644 --- a/src/de/podfetcher/syndication/namespace/rss20/NSRSS20.java +++ b/src/de/podfetcher/syndication/namespace/rss20/NSRSS20.java @@ -63,11 +63,6 @@ public class NSRSS20 extends Namespace { } @Override - public void handleCharacters(HandlerState state, char[] ch, int start, - int length) { - } - - @Override public void handleElementEnd(String localName, HandlerState state) { if (localName.equals(ITEM)) { state.setCurrentItem(null); |