removed 'characters' method from namespace class
This commit is contained in:
parent
0d6a7580de
commit
e5e7015df3
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
* */
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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)) {
|
||||
|
|
|
@ -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) {
|
||||
|
||||
|
|
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue