28 lines
721 B
Java
28 lines
721 B
Java
package com.thoughtworks.xstream.io.xml;
|
|
|
|
import com.thoughtworks.xstream.io.AbstractReader;
|
|
import com.thoughtworks.xstream.io.naming.NameCoder;
|
|
|
|
/* loaded from: classes.dex */
|
|
public abstract class AbstractXmlReader extends AbstractReader {
|
|
protected AbstractXmlReader() {
|
|
this(new XmlFriendlyNameCoder());
|
|
}
|
|
|
|
protected String escapeXmlName(String str) {
|
|
return encodeNode(str);
|
|
}
|
|
|
|
public String unescapeXmlName(String str) {
|
|
return decodeNode(str);
|
|
}
|
|
|
|
protected AbstractXmlReader(XmlFriendlyReplacer xmlFriendlyReplacer) {
|
|
this((NameCoder) xmlFriendlyReplacer);
|
|
}
|
|
|
|
protected AbstractXmlReader(NameCoder nameCoder) {
|
|
super(nameCoder);
|
|
}
|
|
}
|