mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 17:59:33 +02:00
@Override
This commit is contained in:
parent
08c3956aaa
commit
cd1785a7a8
2 changed files with 5 additions and 0 deletions
|
@ -52,6 +52,7 @@ abstract class FB2TagManager {
|
||||||
myLanguage = ("ru".equals(language)) ? "ru" : "en";
|
myLanguage = ("ru".equals(language)) ? "ru" : "en";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean startElementHandler(String tag, ZLStringMap attributes) {
|
public boolean startElementHandler(String tag, ZLStringMap attributes) {
|
||||||
if ((tag == "subgenre") || (tag == "genre-alt")) {
|
if ((tag == "subgenre") || (tag == "genre-alt")) {
|
||||||
final String id = attributes.getValue("value");
|
final String id = attributes.getValue("value");
|
||||||
|
@ -70,6 +71,7 @@ abstract class FB2TagManager {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean endElementHandler(String tag) {
|
public boolean endElementHandler(String tag) {
|
||||||
if (tag == "genre") {
|
if (tag == "genre") {
|
||||||
myCategoryTag = null;
|
myCategoryTag = null;
|
||||||
|
|
|
@ -35,6 +35,7 @@ final class ZLTextHyphenationReader extends ZLXMLReaderAdapter {
|
||||||
myHyphenator = hyphenator;
|
myHyphenator = hyphenator;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean startElementHandler(String tag, ZLStringMap attributes) {
|
public boolean startElementHandler(String tag, ZLStringMap attributes) {
|
||||||
if (PATTERN.equals(tag)) {
|
if (PATTERN.equals(tag)) {
|
||||||
myReadPattern = true;
|
myReadPattern = true;
|
||||||
|
@ -42,6 +43,7 @@ final class ZLTextHyphenationReader extends ZLXMLReaderAdapter {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public boolean endElementHandler(String tag) {
|
public boolean endElementHandler(String tag) {
|
||||||
if (PATTERN.equals(tag)) {
|
if (PATTERN.equals(tag)) {
|
||||||
myReadPattern = false;
|
myReadPattern = false;
|
||||||
|
@ -54,6 +56,7 @@ final class ZLTextHyphenationReader extends ZLXMLReaderAdapter {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void characterDataHandler(char[] ch, int start, int length) {
|
public void characterDataHandler(char[] ch, int start, int length) {
|
||||||
if (myReadPattern) {
|
if (myReadPattern) {
|
||||||
char[] buffer = myBuffer;
|
char[] buffer = myBuffer;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue