removed 'characters' method from namespace class

This commit is contained in:
daniel oeh 2012-06-26 18:55:43 +02:00
parent 0d6a7580de
commit e5e7015df3
6 changed files with 0 additions and 30 deletions

View File

@ -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);
}
}
}

View File

@ -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
* */

View File

@ -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) {

View File

@ -20,12 +20,6 @@ public class NSContent 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) {
if (localName.equals(ENCODED)) {

View File

@ -29,13 +29,6 @@ public class NSITunes 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) {

View File

@ -62,11 +62,6 @@ public class NSRSS20 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) {
if (localName.equals(ITEM)) {