mirror of
https://github.com/revanced/Apktool.git
synced 2025-02-01 14:47:56 +01:00
ResScalarValue +serializeExtraXmlAttrs() .
This commit is contained in:
parent
0f251a0fd9
commit
99882396b9
@ -62,6 +62,8 @@ public abstract class ResScalarValue extends ResValue
|
|||||||
}
|
}
|
||||||
serializer.attribute(null, "name", res.getResSpec().getName());
|
serializer.attribute(null, "name", res.getResSpec().getName());
|
||||||
|
|
||||||
|
serializeExtraXmlAttrs(serializer, res);
|
||||||
|
|
||||||
String body = encodeAsResXmlValue();
|
String body = encodeAsResXmlValue();
|
||||||
if (! body.isEmpty()) {
|
if (! body.isEmpty()) {
|
||||||
serializer.ignorableWhitespace(body);
|
serializer.ignorableWhitespace(body);
|
||||||
@ -74,5 +76,9 @@ public abstract class ResScalarValue extends ResValue
|
|||||||
return mType;
|
return mType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected void serializeExtraXmlAttrs(XmlSerializer serializer,
|
||||||
|
ResResource res) throws IOException {
|
||||||
|
}
|
||||||
|
|
||||||
protected abstract String encodeAsResXml() throws AndrolibException;
|
protected abstract String encodeAsResXml() throws AndrolibException;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user