mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-04-30 06:14:25 +02:00
implement parser text node
This commit is contained in:
parent
f0088a0279
commit
fe0ec339ff
@ -42,6 +42,9 @@ public class ParserEventList implements Iterator<ParserEvent> {
|
|||||||
if(type == ParserEvent.START_TAG || type == ParserEvent.END_TAG){
|
if(type == ParserEvent.START_TAG || type == ParserEvent.END_TAG){
|
||||||
return getElement().getTag();
|
return getElement().getTag();
|
||||||
}
|
}
|
||||||
|
if(type == ParserEvent.TEXT){
|
||||||
|
return ((ResXmlTextNode)getXmlNode()).getText();
|
||||||
|
}
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
public int getLineNumber(){
|
public int getLineNumber(){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user